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

#include <samplerObject.h>

+ Inheritance diagram for HdStUdimSamplerObject:

Public Member Functions

 HdStUdimSamplerObject (HdStUdimTextureObject const &ptexTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
 
 ~HdStUdimSamplerObject () override
 
const HgiSamplerHandleGetTexelsSampler () const
 
uint64_t GetTexelsGLTextureHandle () const
 
uint64_t GetLayoutGLTextureHandle () const
 
- 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

A sampler suitable for Udim textures (wraps one GPU sampler for the texels texture).

Definition at line 189 of file samplerObject.h.

Constructor & Destructor Documentation

HdStUdimSamplerObject::HdStUdimSamplerObject ( HdStUdimTextureObject const ptexTexture,
HdSamplerParameters const samplerParameters,
bool  createBindlessHandle,
HdSt_SamplerObjectRegistry samplerObjectRegistry 
)
HdStUdimSamplerObject::~HdStUdimSamplerObject ( )
override

Member Function Documentation

uint64_t HdStUdimSamplerObject::GetLayoutGLTextureHandle ( ) const
inline

Similar to GetGLTexelsTextureHandle but for layout.

Definition at line 218 of file samplerObject.h.

uint64_t HdStUdimSamplerObject::GetTexelsGLTextureHandle ( ) const
inline

The GL texture handle for bindless textures (as returned by glGetTextureHandleARB). This is for texels.

Only available when requested.

Definition at line 212 of file samplerObject.h.

const HgiSamplerHandle& HdStUdimSamplerObject::GetTexelsSampler ( ) const
inline

The GL sampler (as understood by glBindSampler) for the texels texture.

Definition at line 203 of file samplerObject.h.


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