Describes a texture to be passed into a shader.
More...
|
std::string | nameInShader |
|
uint32_t | dimensions |
|
HgiFormat | format |
|
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: