HgiVertexBufferBinding Struct Reference

Describes a buffer to be bound during encoding. More...

Public Member Functions

HGI_API HgiVertexBufferBinding (HgiBufferHandle const &buffer, uint32_t byteOffset, uint32_t index)
 

Public Attributes

HgiBufferHandle buffer
 
uint32_t byteOffset
 
uint32_t index
 

Detailed Description

Describes a buffer to be bound during encoding.

  • buffer: The buffer to be bound (e.g. uniform, storage, vertex).
  • byteOffset: The byte offset into the buffer from where the data will be bound.
  • index: The binding index to which the buffer will be bound.

Definition at line 228 of file resourceBindings.h.


The documentation for this struct was generated from the following file: