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

Describes the properties needed to create a GPU shader function. More...

Public Attributes

std::string debugName
 
HgiShaderStage shaderStage
 
const char * shaderCode
 
std::vector
< HgiShaderFunctionTextureDesc
textures
 
std::vector
< HgiShaderFunctionBufferDesc
buffers
 
std::vector
< HgiShaderFunctionParamDesc
constantParams
 
std::vector
< HgiShaderFunctionParamDesc
stageInputs
 
std::vector
< HgiShaderFunctionParamDesc
stageOutputs
 

Detailed Description

Describes the properties needed to create a GPU shader function.

  • debugName: This label can be applied as debug label for gpu debugging.
  • shaderStage: The shader stage this function represents.
  • shaderCode: The ascii shader code used to compile the shader.
  • textures: List of texture descriptions to be passed into a shader.
  • buffers: List of buffer descriptions to be passed into a shader.
  • constantParams: List of descriptions of constant params passed into a shader.
  • stageInputs: List of descriptions of the inputs of the shader.
  • stageOutputs: List of descriptions of the outputs of the shader.

Definition at line 174 of file shaderFunctionDesc.h.


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