HgiShaderFunctionParamBlockDesc Struct Reference

Describes an interstage param block between shader stages. More...

Public Types

using MemberVector = std::vector< Member >
 

Public Attributes

std::string blockName
 
std::string instanceName
 
MemberVector members
 
std::string arraySize
 
int32_t interstageSlot
 

Detailed Description

Describes an interstage param block between shader stages.

  • blockName: The name used to match blocks between shader stages.
  • instanceName: The name used to scope access to block members.
  • members: The members of the block.
  • arraySize: If specified, generates a block with given size.
  • interstageSlot: The interstage slot index of the first member of the block, subsequent members are assigned sequential interstage slot indices.

Definition at line 210 of file shaderFunctionDesc.h.


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