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

#include <graphicsPipeline.h>

Public Member Functions

HGI_API HgiGraphicsShaderConstantsDesc ()
 

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.

Constructor & Destructor Documentation

HGI_API HgiGraphicsShaderConstantsDesc::HgiGraphicsShaderConstantsDesc ( )

Member Data Documentation

uint32_t HgiGraphicsShaderConstantsDesc::byteSize

Definition at line 329 of file graphicsPipeline.h.

HgiShaderStage HgiGraphicsShaderConstantsDesc::stageUsage

Definition at line 330 of file graphicsPipeline.h.


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