All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdStPtexSamplerObject Class Referencefinal

#include <samplerObject.h>

+ Inheritance diagram for HdStPtexSamplerObject:

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...
- Public Member Functions inherited from HdStSamplerObject
virtual ~HdStSamplerObject ()=0

Additional Inherited Members

- Protected Member Functions inherited from HdStSamplerObject
 HdStSamplerObject (HdSt_SamplerObjectRegistry *samplerObjectRegistry)
Hgi_GetHgi () const
- Protected Attributes inherited from HdStSamplerObject
HdSt_SamplerObjectRegistry *const _samplerObjectRegistry

Detailed Description

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.

Constructor & Destructor Documentation

HdStPtexSamplerObject::HdStPtexSamplerObject ( HdStPtexTextureObject const ptexTexture,
HdSamplerParameters const samplerParameters,
bool  createBindlessHandle,
HdSt_SamplerObjectRegistry samplerObjectRegistry 
HdStPtexSamplerObject::~HdStPtexSamplerObject ( )

Member Function Documentation

uint64_t HdStPtexSamplerObject::GetLayoutGLTextureHandle ( ) const

Similar to GetGLTexelsTextureHandle but for layout.

Definition at line 175 of file samplerObject.h.

uint64_t HdStPtexSamplerObject::GetTexelsGLTextureHandle ( ) const

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.

The documentation for this class was generated from the following file: