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

#include <shaderFunction.h>

Public Member Functions

HGI_API HgiShaderFunctionDesc ()

Public Attributes

std::string debugName
HgiShaderStage shaderStage
const char * shaderCode

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.

Definition at line 53 of file shaderFunction.h.

Constructor & Destructor Documentation

HGI_API HgiShaderFunctionDesc::HgiShaderFunctionDesc ( )

Member Data Documentation

std::string HgiShaderFunctionDesc::debugName

Definition at line 58 of file shaderFunction.h.

const char* HgiShaderFunctionDesc::shaderCode

Definition at line 60 of file shaderFunction.h.

HgiShaderStage HgiShaderFunctionDesc::shaderStage

Definition at line 59 of file shaderFunction.h.

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