D2D1_VERTEX_USAGE enumeration (d2d1effectauthor.h)
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_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_VERTEX_USAGE_STATIC Value: 0 The created vertex buffer is updated infrequently. |
D2D1_VERTEX_USAGE_DYNAMIC Value: 1 The created vertex buffer is changed frequently. |
D2D1_VERTEX_USAGE_FORCE_DWORD Value: 0xffffffff |
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | d2d1effectauthor.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for