| ?/TD> |
| Microsoft DirectX 9.0 |
Vertex cache optimization hints.
Syntax
typedef struct D3DDEVINFO_VCACHE {
DWORD Pattern;
DWORD OptMethod;
DWORD CacheSize;
DWORD MagicNumber;
} D3DDEVINFO_VCACHE;Members
- Pattern
- Bit pattern. Return value must be the four-character code (FOURCC) ('C', 'A', 'C', 'H').
- OptMethod
- Optimizations method. Use 0 to get the longest strips. Use 1 to optimize the vertex cache usage.
- CacheSize
- Cache size used as a target for optimization. This is required only if OptMethod is 1.
- MagicNumber
- Used by internal optimization methods to determine when to restart strips. This cannot be set or modified by a user. This is required only if OptMethod is 1.
Structure Information
Header d3d9types.h Minimum operating systems Windows 98
See Also
IDirect3DQuery9::GetData