D3D12_VERTEX_BUFFER_VIEW structure

Describes a vertex buffer view.

Syntax

typedef struct D3D12_VERTEX_BUFFER_VIEW {
  D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
  UINT                      SizeInBytes;
  UINT                      StrideInBytes;
};

Members

BufferLocation

Specifies a D3D12_GPU_VIRTUAL_ADDRESS that identifies the address of the buffer.

SizeInBytes

Specifies the size in bytes of the buffer.

StrideInBytes

Specifies the size in bytes of each vertex entry.

Remarks

Use this structure with the IASetVertexBuffers method.

Requirements

   
Header d3d12.h

See Also

Core Structures