D3D12_VERTEX_BUFFER_VIEW_DESC structure

[This documentation is preliminary and is subject to change.]

Describes the vertex buffer to view.

Syntax

typedef struct D3D12_VERTEX_BUFFER_VIEW_DESC {
  UINT   StrideInBytes;
  UINT64 OffsetInBytes;
  UINT64 SizeInBytes;
} D3D12_VERTEX_BUFFER_VIEW_DESC;

Members

  • StrideInBytes
    The stride in bytes. Each stride is the size (in bytes) of the elements that are to be used from the vertex buffer.

  • OffsetInBytes
    The offset in bytes into the vertex buffer to start viewing.

  • SizeInBytes
    The size in bytes of the vertex buffer.

Requirements

Header

D3D12.h