D3D12_VERTEX_BUFFER_VIEW structure (d3d12.h)
Describes a vertex buffer view.
Syntax
typedef struct D3D12_VERTEX_BUFFER_VIEW {
D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
UINT SizeInBytes;
UINT StrideInBytes;
} D3D12_VERTEX_BUFFER_VIEW;
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
Requirement | Value |
---|---|
Header | d3d12.h |