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 |
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