Loading...
Searching...
No Matches
HdStPtexSamplerObject Class Referencefinal

Ptex doesn't bind samplers, so this class is just holding a sampler to resolve handles for bindless textures. More...

#include <samplerObject.h>

+ Inheritance diagram for HdStPtexSamplerObject:

Public Member Functions

 HdStPtexSamplerObject (HdStPtexTextureObject const &ptexTexture, HdSamplerParameters const &samplerParameters, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
 
const HgiSamplerHandleGetTexelsSampler () const
 The GPU sampler object for the texels texture.
 
const HgiSamplerHandleGetLayoutSampler () const
 The GPU sampler object for the layout texture.
 

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 a sampler to resolve handles for bindless textures.

Definition at line 131 of file samplerObject.h.

Member Function Documentation

◆ GetLayoutSampler()

const HgiSamplerHandle & GetLayoutSampler ( ) const
inline

The GPU sampler object for the layout texture.

Definition at line 149 of file samplerObject.h.

◆ GetTexelsSampler()

const HgiSamplerHandle & GetTexelsSampler ( ) const
inline

The GPU sampler object for the texels texture.

Definition at line 143 of file samplerObject.h.


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