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

#include <samplerObject.h>

+ Inheritance diagram for HdStUvSamplerObject:

Public Member Functions

HDST_API HdStUvSamplerObject (HdStUvTextureObject const &uvTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
 
HDST_API ~HdStUvSamplerObject () override
 
const HgiSamplerHandleGetSampler () const
 
uint64_t GetGLTextureSamplerHandle () 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 HdStUvTextureObject.

Definition at line 83 of file samplerObject.h.

Constructor & Destructor Documentation

HDST_API HdStUvSamplerObject::HdStUvSamplerObject ( HdStUvTextureObject const uvTexture,
HdSamplerParameters const samplerParameters,
bool  createBindlessHandle,
HdSt_SamplerObjectRegistry samplerObjectRegistry 
)
HDST_API HdStUvSamplerObject::~HdStUvSamplerObject ( )
override

Member Function Documentation

uint64_t HdStUvSamplerObject::GetGLTextureSamplerHandle ( ) const
inline

The GL sampler texture handle for bindless textures (as returned by glGetTextureSamplerHandleARB).

Only available when requested.

Definition at line 106 of file samplerObject.h.

const HgiSamplerHandle& HdStUvSamplerObject::GetSampler ( ) const
inline

The sampler.

Definition at line 97 of file samplerObject.h.


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