Loading...
Searching...
No Matches
HgiGraphicsShaderConstantsDesc Struct Reference

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

#include <graphicsPipeline.h>

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

Member Data Documentation

◆ byteSize

uint32_t byteSize

Definition at line 329 of file graphicsPipeline.h.

◆ stageUsage

HgiShaderStage stageUsage

Definition at line 330 of file graphicsPipeline.h.


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