D2D1_VERTEX_BUFFER_PROPERTIES structure
Defines the properties of a vertex buffer that are standard for all vertex shader definitions.
Syntax
typedef struct D2D1_VERTEX_BUFFER_PROPERTIES { UINT32 inputCount; D2D1_VERTEX_USAGE usage; const BYTE *data; UINT32 byteWidth; } D2D1_VERTEX_BUFFER_PROPERTIES;
Members
- inputCount
-
The number of inputs to the vertex shader.
- usage
-
Indicates how frequently the vertex buffer is likely to be updated.
- data
-
The initial contents of the vertex buffer.
- byteWidth
-
The size of the vertex buffer, in bytes.
Remarks
If usage is dynamic, the system might return a system memory buffer and copy these vertices into the rendering vertex buffer for each element.
If the initialization data is not specified, the buffer will be uninitialized.
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