Loading...
Searching...
No Matches
HgiShaderFunctionParamBlockDesc Struct Reference

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

#include <shaderFunctionDesc.h>

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.

Member Typedef Documentation

◆ MemberVector

using MemberVector = std::vector<Member>

Definition at line 221 of file shaderFunctionDesc.h.

Member Data Documentation

◆ arraySize

std::string arraySize

Definition at line 226 of file shaderFunctionDesc.h.

◆ blockName

std::string blockName

Definition at line 223 of file shaderFunctionDesc.h.

◆ instanceName

std::string instanceName

Definition at line 224 of file shaderFunctionDesc.h.

◆ interstageSlot

int32_t interstageSlot

Definition at line 227 of file shaderFunctionDesc.h.

◆ members

MemberVector members

Definition at line 225 of file shaderFunctionDesc.h.


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