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

A small, but fast buffer of uniform data for shaders. More...

Public Attributes

uint32_t byteSize
 
HgiShaderStage stageUsage
 

Detailed Description

A small, but fast buffer of uniform data for shaders.

  • byteSize: Size of the constants in bytes. (max 256 bytes)
  • stageUsage: What shader stage(s) the constants will be used in.

Definition at line 231 of file graphicsPipeline.h.


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