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

#include <samplerObject.h>

+ Inheritance diagram for HdStFieldSamplerObject:

Public Member Functions

 HdStFieldSamplerObject (HdStFieldTextureObject const &uvTexture, HdSamplerParameters const &samplerParameters, bool createBindlessHandle, HdSt_SamplerObjectRegistry *samplerObjectRegistry)
 
 ~HdStFieldSamplerObject () 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 HdStFieldTextureObject.

Definition at line 119 of file samplerObject.h.

Constructor & Destructor Documentation

HdStFieldSamplerObject::HdStFieldSamplerObject ( HdStFieldTextureObject const uvTexture,
HdSamplerParameters const samplerParameters,
bool  createBindlessHandle,
HdSt_SamplerObjectRegistry samplerObjectRegistry 
)
HdStFieldSamplerObject::~HdStFieldSamplerObject ( )
override

Member Function Documentation

uint64_t HdStFieldSamplerObject::GetGLTextureSamplerHandle ( ) const
inline

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

Only available when requested.

Definition at line 140 of file samplerObject.h.

const HgiSamplerHandle& HdStFieldSamplerObject::GetSampler ( ) const
inline

The sampler.

Definition at line 131 of file samplerObject.h.


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