HDST_API void ReallocateSamplerIfNecessary()
Allocate sampler for this handle (not thread-safe).
HdStShaderCodePtr const & GetShaderCode() const
Get the shader code associated with this handle.
HdSamplerParameters const & GetSamplerParameters() const
Get sampler parameters.
HdStTextureObjectSharedPtr const & GetTextureObject() const
Get texture object.
size_t GetMemoryRequest() const
Get how much memory this handle requested for the texture.
HdStSamplerObjectSharedPtr const & GetSamplerObject() const
Get sampler object.
HDST_API HdStTextureHandle(HdStTextureObjectSharedPtr const &textureObject, const HdSamplerParameters &samplerParams, size_t memoryRequest, bool createBindlessHandle, HdStShaderCodePtr const &shaderCode, HdSt_TextureHandleRegistry *textureHandleRegistry)
See HdStResourceRegistry::AllocateTextureHandle for details.
Represents a texture and sampler that will be allocated and loaded from a texture file during commit...