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

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

+ Inheritance diagram for HdStUdimSamplerObject:

Public Member Functions

 HdStUdimSamplerObject (HdStUdimTextureObject const &ptexTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
 
const HgiSamplerHandleGetTexelsSampler () const
 The GPU sampler object for the texels texture. More...
 
uint64_t GetTexelsGLTextureHandle () const
 The GL texture handle for bindless textures (as returned by glGetTextureHandleARB). More...
 
uint64_t GetLayoutGLTextureHandle () const
 Similar to GetGLTexelsTextureHandle but for layout. More...
 

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 198 of file samplerObject.h.

Member Function Documentation

uint64_t GetLayoutGLTextureHandle ( ) const
inline

Similar to GetGLTexelsTextureHandle but for layout.

Definition at line 226 of file samplerObject.h.

uint64_t 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 220 of file samplerObject.h.

const HgiSamplerHandle& GetTexelsSampler ( ) const
inline

The GPU sampler object for the texels texture.

Definition at line 211 of file samplerObject.h.


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