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

Describes one attribute of a vertex. More...

Public Attributes

HgiFormat format
 
uint32_t offset
 
uint32_t shaderBindLocation
 

Detailed Description

Describes one attribute of a vertex.

  • format: Format of the vertex attribute.
  • offset: The byte offset of the attribute in vertex buffer
  • shaderBindLocation: The location of the attribute in the shader. layout(location = X)

Definition at line 55 of file graphicsPipeline.h.


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