Platform SDK: DirectX

CONST_D3DFVFCAPSFLAGS

The CONST_D3DFVFCAPSFLAGS enumeration defines values present within or used with the lFVFCaps member of the D3DDEVICEDESC7 type.

Enum CONST_D3DFVFCAPSFLAGS 
    D3DFVFCAPS_DONOTSTRIPELEMENTS = 524288 
    D3DFVFCAPS_TEXCOORDCOUNTMASK = 65535 
End Enum
D3DFVFCAPS_DONOTSTRIPELEMENTS
Device prefers that vertex elements not be stripped. That is, if the vertex format contains elements that will not be used with the current render states, there is no need to regenerate the vertices. If this capability flag is not present, stripping extraneous elements from the vertex format will provide better performance.
D3DFVFCAPS_TEXCOORDCOUNTMASK
Used to mask the low 16-bits of the lFVFCaps member of the D3DDEVICEDESC7 type. Set the result to a variable of type Integer to calculate the total number of texture coordinate sets that the device can simultaneously use for multiple texture blending. (You can use up to eight texture coordinate sets for any vertex, but the device can only blend using the specified number of texture coordinate sets.)

Remarks

The following Visual Basic code fragment masks the low 16-bits of the lFVFCaps member to determine the total number of texture coordinate sets that the device can simultaneously use for multiple texture blending:

Dim HALdesc As D3DDEVICEDESC7, HELdesc As D3DDEVICEDESC7
Dim iTexCoords As Integer

' The d3ddevice variable is assumed to be referece to 
' a valid Direct3DDevice3 object.
Call d3ddevice.GetCaps(HALDesc, HELDesc)

' Mask the low 16-bits and set them to an integer variable.
iTexCoords = (HALDesc.lFVFCaps And D3DFVFCAPS_TEXCOORDCOUNTMASK)