Loading...
Searching...
No Matches
HgiVertexAttributeDesc Struct Reference

Describes one attribute of a vertex. More...

#include <graphicsPipeline.h>

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 57 of file graphicsPipeline.h.

Member Data Documentation

◆ format

HgiFormat format

Definition at line 62 of file graphicsPipeline.h.

◆ offset

uint32_t offset

Definition at line 63 of file graphicsPipeline.h.

◆ shaderBindLocation

uint32_t shaderBindLocation

Definition at line 64 of file graphicsPipeline.h.


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