Loading...
Searching...
No Matches
HgiVertexBufferDesc Struct Reference

Describes the attributes of a vertex buffer. More...

#include <graphicsPipeline.h>

Public Attributes

uint32_t bindingIndex
 
HgiVertexAttributeDescVector vertexAttributes
 
HgiVertexBufferStepFunction vertexStepFunction
 
uint32_t vertexStride
 

Detailed Description

Describes the attributes of a vertex buffer.

  • bindingIndex: Binding location for this vertex buffer.
  • vertexAttributes: List of vertex attributes (in vertex buffer).
  • vertexStepFunction: The rate at which data is pulled for this vertex buffer.
  • vertexStride: The byte size of a vertex (distance between two vertices).

Definition at line 94 of file graphicsPipeline.h.

Member Data Documentation

◆ bindingIndex

uint32_t bindingIndex

Definition at line 99 of file graphicsPipeline.h.

◆ vertexAttributes

HgiVertexAttributeDescVector vertexAttributes

Definition at line 100 of file graphicsPipeline.h.

◆ vertexStepFunction

HgiVertexBufferStepFunction vertexStepFunction

Definition at line 101 of file graphicsPipeline.h.

◆ vertexStride

uint32_t vertexStride

Definition at line 102 of file graphicsPipeline.h.


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