Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

D3DDEVINFO_VCACHE structure

Vertex cache optimization hints.

Syntax


typedef struct D3DDEVINFO_VCACHE {
  DWORD Pattern;
  DWORD OptMethod;
  DWORD CacheSize;
  DWORD MagicNumber;
} D3DDEVINFO_VCACHE, *LPD3DDEVINFO_VCACHE;

Members

Pattern

Type: DWORD

Bit pattern. Return value must be the FOURCC ('C', 'A', 'C', 'H').

OptMethod

Type: DWORD

Optimizations method. Use 0 to get the longest strips. Use 1 to optimize the vertex cache usage.

CacheSize

Type: DWORD

Cache size used as a target for optimization. This is required only if OptMethod is 1.

MagicNumber

Type: DWORD

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.

Requirements

Header

D3D9Types.h

See also

GetData

 

 

Community Additions

ADD
Show:
© 2015 Microsoft