All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiVertexBufferBinding Struct Reference

#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

HGI_API HgiVertexBufferBinding::HgiVertexBufferBinding ( HgiBufferHandle const buffer,
uint32_t  byteOffset,
uint32_t  index 

Definition at line 231 of file resourceBindings.h.

Member Data Documentation

HgiBufferHandle HgiVertexBufferBinding::buffer

Definition at line 240 of file resourceBindings.h.

uint32_t HgiVertexBufferBinding::byteOffset

Definition at line 241 of file resourceBindings.h.

uint32_t HgiVertexBufferBinding::index

Definition at line 242 of file resourceBindings.h.

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