Loading...
Searching...
No Matches
HgiVertexBufferBinding Struct Reference

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

#include <resourceBindings.h>

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.

Constructor & Destructor Documentation

◆ HgiVertexBufferBinding()

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

Definition at line 231 of file resourceBindings.h.

Member Data Documentation

◆ buffer

Definition at line 240 of file resourceBindings.h.

◆ byteOffset

uint32_t byteOffset

Definition at line 241 of file resourceBindings.h.

◆ index

uint32_t index

Definition at line 242 of file resourceBindings.h.


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