CONST_D3DVBCAPSFLAGS
The CONST_D3DVBCAPSFLAGS enumeration defines vertex buffer capability flags that are used in the lCaps member of the D3DVERTEXBUFFERDESC type.
Enum CONST_D3DVBCAPSFLAGS
D3DVBCAPS_DEFAULT = 0
D3DVBCAPS_DONOTCLIP = 1
D3DVBCAPS_OPTIMIZED = 2147483648
D3DVBCAPS_SYSTEMMEMORY = 2048
D3DVBCAPS_WRITEONLY = 65536
End Enum
- D3DVBCAPS_DEFAULT
- The vertex buffer should be created in whatever memory the driver chooses to allow efficient read operations.
- D3DVBCAPS_DONOTCLIP
- The vertex buffer cannot contain clipping information.
- D3DVBCAPS_OPTIMIZED
- The vertex buffer contains optimized vertex data. (This flag is not used when creating a new vertex buffer.)
- D3DVBCAPS_SYSTEMMEMORY
- The vertex buffer should be created in system memory. Use this capability for vertex buffers that will be rendered by using software devices (MMX and RGB devices).
- D3DVBCAPS_WRITEONLY
- Hints to the system that the application will only write to the vertex buffer. Using this flag enables the driver to choose the best memory location for efficient write operations and rendering. Attempts to read from a vertex buffer that is created with this capability can result in degraded performance.