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

#include <graphicsPipeline.h>

Public Member Functions

HGI_API HgiVertexBufferDesc ()

Public Attributes

uint32_t bindingIndex
HgiVertexAttributeDescVector vertexAttributes
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).
  • vertexStride: The byte size of a vertex (distance between two vertices).

Definition at line 90 of file graphicsPipeline.h.

Constructor & Destructor Documentation

HGI_API HgiVertexBufferDesc::HgiVertexBufferDesc ( )

Member Data Documentation

uint32_t HgiVertexBufferDesc::bindingIndex

Definition at line 95 of file graphicsPipeline.h.

HgiVertexAttributeDescVector HgiVertexBufferDesc::vertexAttributes

Definition at line 96 of file graphicsPipeline.h.

uint32_t HgiVertexBufferDesc::vertexStride

Definition at line 97 of file graphicsPipeline.h.

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