24#ifndef PXR_IMAGING_HGIGL_SAMPLER_H
25#define PXR_IMAGING_HGIGL_SAMPLER_H
27#include "pxr/imaging/hgi/sampler.h"
29#include "pxr/imaging/hgiGL/api.h"
32PXR_NAMESPACE_OPEN_SCOPE
72 uint32_t _bindlessTextureId;
73 uint64_t _bindlessHandle;
77PXR_NAMESPACE_CLOSE_SCOPE
OpenGL implementation of the Hydra Graphics Interface.
OpenGL implementation of HgiSampler.
HGIGL_API uint64_t GetBindlessHandle(HgiTextureHandle const &textureHandle)
Returns the bindless gpu handle (caller must verify extension support)
HGIGL_API uint32_t GetSamplerId() const
Returns the gl resource id of the sampler.
HGIGL_API uint64_t GetRawResource() const override
This function returns the handle to the Hgi backend's gpu resource, cast to a uint64_t.
Represents a graphics platform independent GPU sampler resource that perform texture sampling operati...
Describes the properties needed to create a GPU sampler.