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

#include <shaderFunctionDesc.h>

Public Member Functions

HGI_API HgiShaderFunctionBufferDesc ()
 

Public Attributes

std::string nameInShader
 
std::string type
 
uint32_t bindIndex
 
uint32_t arraySize
 
HgiBindingType binding
 
bool writable
 

Detailed Description

Describes a buffer to be passed into a shader

  • nameInShader: The name written from the codegen into shader file for the texture.
  • type: Type of the param within the shader file.
  • bindIndex: The index of the resource.
  • arraySize: The size of the array when binding is a HgiBindingTypeArray.
  • bindingType: The binding model to use to expose the buffer to the shader.
  • writeable: Whether the resource is writable.

Definition at line 111 of file shaderFunctionDesc.h.

Constructor & Destructor Documentation

HGI_API HgiShaderFunctionBufferDesc::HgiShaderFunctionBufferDesc ( )

Member Data Documentation

uint32_t HgiShaderFunctionBufferDesc::arraySize

Definition at line 119 of file shaderFunctionDesc.h.

uint32_t HgiShaderFunctionBufferDesc::bindIndex

Definition at line 118 of file shaderFunctionDesc.h.

HgiBindingType HgiShaderFunctionBufferDesc::binding

Definition at line 120 of file shaderFunctionDesc.h.

std::string HgiShaderFunctionBufferDesc::nameInShader

Definition at line 116 of file shaderFunctionDesc.h.

std::string HgiShaderFunctionBufferDesc::type

Definition at line 117 of file shaderFunctionDesc.h.

bool HgiShaderFunctionBufferDesc::writable

Definition at line 121 of file shaderFunctionDesc.h.


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