HDK
|
#include <samplerObject.h>
Public Member Functions | |
HdStPtexSamplerObject (HdStPtexTextureObject const &ptexTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry) | |
~HdStPtexSamplerObject () override | |
uint64_t | GetTexelsGLTextureHandle () const |
uint64_t | GetLayoutGLTextureHandle () const |
Similar to GetGLTexelsTextureHandle but for layout. More... | |
![]() | |
virtual | ~HdStSamplerObject ()=0 |
Additional Inherited Members | |
![]() | |
HdStSamplerObject (HdSt_SamplerObjectRegistry *samplerObjectRegistry) | |
Hgi * | _GetHgi () const |
![]() | |
HdSt_SamplerObjectRegistry *const | _samplerObjectRegistry |
Ptex doesn't bind samplers, so this class is just holding the texture handles for bindless textures.
Definition at line 154 of file samplerObject.h.
HdStPtexSamplerObject::HdStPtexSamplerObject | ( | HdStPtexTextureObject const & | ptexTexture, |
HdSamplerParameters const & | samplerParameters, | ||
bool | createBindlessHandle, | ||
HdSt_SamplerObjectRegistry * | samplerObjectRegistry | ||
) |
|
override |
|
inline |
Similar to GetGLTexelsTextureHandle but for layout.
Definition at line 175 of file samplerObject.h.
|
inline |
The GL texture handle for bindless textures (as returned by glGetTextureHandleARB). This is for texels.
Only available when requested.
Definition at line 170 of file samplerObject.h.