D3DDEVINFO_VCACHE
Vertex cache optimization hints.
typedef struct D3DDEVINFO_VCACHE {
DWORD Pattern;
DWORD OptMethod;
DWORD CacheSize;
DWORD MagicNumber;
} D3DDEVINFO_VCACHE, *LPD3DDEVINFO_VCACHE;
Members
- Pattern
- Bit pattern. Return value must be the 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.
See Also
IDirect3DQuery9::GetData