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

#include <graphicsPipeline.h>

Public Member Functions

HGI_API HgiVertexAttributeDesc ()

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.

Constructor & Destructor Documentation

HGI_API HgiVertexAttributeDesc::HgiVertexAttributeDesc ( )

Member Data Documentation

HgiFormat HgiVertexAttributeDesc::format

Definition at line 60 of file graphicsPipeline.h.

uint32_t HgiVertexAttributeDesc::offset

Definition at line 61 of file graphicsPipeline.h.

uint32_t HgiVertexAttributeDesc::shaderBindLocation

Definition at line 62 of file graphicsPipeline.h.

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