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

Requirement Value
Header
D3D9Types.h

See also

Direct3D Structures

GetData