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

Describes a texture to be passed into a shader. More...

Public Attributes

std::string nameInShader
 
uint32_t dimensions
 
HgiFormat format
 

Detailed Description

Describes a texture to be passed into a shader.

  • nameInShader: The name written from the codegen into shader file for the texture.
  • dimensions: 1d, 2d or 3d texture declaration.
  • format Format of the texture. This is required in APIs where sampler types depend on the texture (e.g., GL)

Definition at line 53 of file shaderFunctionDesc.h.


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