D2D1_VERTEX_USAGE enumeration
Indicates whether the vertex buffer changes infrequently or frequently.
Syntax
typedef enum D2D1_VERTEX_USAGE { D2D1_VERTEX_USAGE_STATIC = 0, D2D1_VERTEX_USAGE_DYNAMIC = 1 } D2D1_VERTEX_USAGE;
Constants
- D2D1_VERTEX_USAGE_STATIC
-
The created vertex buffer is updated infrequently.
- D2D1_VERTEX_USAGE_DYNAMIC
-
The created vertex buffer is changed frequently.
Remarks
If a dynamic vertex buffer is created, Direct2D will not necessarily map the buffer directly to a Direct3D vertex buffer. Instead, a system memory copy can be copied to the rendering engine vertex buffer as the effects are rendered.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Type library |
|
See also