24 #ifndef PXR_IMAGING_HD_ST_SAMPLER_OBJECT_H
25 #define PXR_IMAGING_HD_ST_SAMPLER_OBJECT_H
47 std::shared_ptr<class HdStSamplerObject>;
89 bool createBindlessHandle,
107 return _glTextureSamplerHandle;
112 const uint64_t _glTextureSamplerHandle;
124 bool createBindlessHandle,
141 return _glTextureSamplerHandle;
146 const uint64_t _glTextureSamplerHandle;
160 bool createBindlessHandle,
168 return _texelsSampler;
177 return _texelsGLTextureHandle;
183 return _layoutGLTextureHandle;
189 const uint64_t _texelsGLTextureHandle;
190 const uint64_t _layoutGLTextureHandle;
204 bool createBindlessHandle,
212 return _texelsSampler;
221 return _texelsGLTextureHandle;
227 return _layoutGLTextureHandle;
233 const uint64_t _texelsGLTextureHandle;
234 const uint64_t _layoutGLTextureHandle;
237 template<HdTextureType textureType>
245 template<HdTextureType textureType>
uint64_t GetLayoutGLTextureHandle() const
~HdStUdimSamplerObject() override
const HgiSamplerHandle & GetSampler() const
uint64_t GetTexelsGLTextureHandle() const
uint64_t GetLayoutGLTextureHandle() const
HdSt_SamplerObjectRegistry *const _samplerObjectRegistry
HDST_API ~HdStUvSamplerObject() override
HdStUdimSamplerObject(HdStUdimTextureObject const &ptexTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
const HgiSamplerHandle & GetTexelsSampler() const
uint64_t GetTexelsGLTextureHandle() const
HDST_API HdStUvSamplerObject(HdStUvTextureObject const &uvTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
HdStPtexSamplerObject(HdStPtexTextureObject const &ptexTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
uint64_t GetGLTextureSamplerHandle() const
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual ~HdStSamplerObject()=0
uint64_t GetGLTextureSamplerHandle() const
const HgiSamplerHandle & GetSampler() const
std::shared_ptr< class HdStSamplerObject > HdStSamplerObjectSharedPtr
HdStFieldSamplerObject(HdStFieldTextureObject const &uvTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
const HgiSamplerHandle & GetTexelsSampler() const
~HdStPtexSamplerObject() override
HdStSamplerObject(HdSt_SamplerObjectRegistry *samplerObjectRegistry)
~HdStFieldSamplerObject() override