D2D1_VERTEX_BUFFER_PROPERTIES structure (d2d1effectauthor.h)

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

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

D2D1_VERTEX_USAGE

ID2D1EffectContext::CreateVertexBuffer

ID2D1EffectContext::LoadVertexShader