|
HDK
|
#include <shaderCode.h>
Public Attributes | |
| TfToken | name |
| HdStTextureType | type |
| std::vector < HdStTextureHandleSharedPtr > | handles |
| The texture(s). Multiple handles indicate an array of textures. More... | |
| size_t | hash |
Information necessary to bind textures and create accessor for the texture. Can be used for a single texture, or an array of textures.
Definition at line 127 of file shaderCode.h.
| std::vector<HdStTextureHandleSharedPtr> HdStShaderCode::NamedTextureHandle::handles |
The texture(s). Multiple handles indicate an array of textures.
Definition at line 139 of file shaderCode.h.
| size_t HdStShaderCode::NamedTextureHandle::hash |
A hash unique to the corresponding asset; used to split draw batches when not using bindless textures.
Definition at line 143 of file shaderCode.h.
| TfToken HdStShaderCode::NamedTextureHandle::name |
Name by which the texture(s) will be accessed, i.e., the name of the accesor for the texture(s) will be HdGet_name(...).
Definition at line 131 of file shaderCode.h.
| HdStTextureType HdStShaderCode::NamedTextureHandle::type |
Equal to handle->GetTextureObject()->GetTextureType(). Saved here for convenience (note that name and type completely determine the creation of the texture accesor HdGet_name(...)).
Definition at line 137 of file shaderCode.h.