#include
<oglplus/texture_handle.hpp>
#if GL_ARB_bindless_texture class TextureHandle { public: TextureHandle(TextureName texture); TextureHandle(TextureName texture, SamplerName sampler); void MakeResident(void); void MakeNonResident(void); Boolean IsResident(void) const; }; GLuint64 GetGLHandle(TextureHandle th) noexcept; class ImageHandle { public: ImageHandle( TextureName texture, GLint level, Boolean layered, GLint layer, ImageUnitFormat format ); void MakeResident(void); void MakeNonResident(void); Boolean IsResident(void) const; }; GLuint64 GetGLHandle(ImageHandle ih) noexcept; #endif
Constructs a texture handle from a texture. See |
|
Constructs a texture handle from a texture and a sampler. See |
|
Make the texture resident. See |
|
Make the texture non-resident. See |
|
Returns true if the texture is resident. See |
|
Returns the GL handle value from a TextureHandle. |
|
Construction from a texture and additional parameters. See |
|
Make the image resident. See |
|
Make the image non-resident. See |
|
Returns true if the image is resident. See |
|
Returns the GL handle value from an ImageHandle. |