Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |
|
See also