globjects  2.0.0.690708773bba
Strict OpenGL objects wrapper.
globjects::TextureHandle Class Reference

#include <globjects/include/globjects/TextureHandle.h>

Public Member Functions

 TextureHandle ()
 
 TextureHandle (gl::GLuint64 handle)
 
 TextureHandle (const Texture *texture)
 
 TextureHandle (const Texture *texture, const Sampler *sampler)
 
void makeResident ()
 
void makeNonResident ()
 
bool isResident () const
 
gl::GLuint64 handle () const
 
 operator gl::GLuint64 () const
 
glm::uvec2 asUVec2 () const
 
 operator glm::uvec2 () const
 

Constructor & Destructor Documentation

globjects::TextureHandle::TextureHandle ( )
globjects::TextureHandle::TextureHandle ( gl::GLuint64  handle)
globjects::TextureHandle::TextureHandle ( const Texture texture)
explicit
globjects::TextureHandle::TextureHandle ( const Texture texture,
const Sampler sampler 
)

Member Function Documentation

void globjects::TextureHandle::makeResident ( )
void globjects::TextureHandle::makeNonResident ( )
bool globjects::TextureHandle::isResident ( ) const
gl::GLuint64 globjects::TextureHandle::handle ( ) const
globjects::TextureHandle::operator gl::GLuint64 ( ) const
glm::uvec2 globjects::TextureHandle::asUVec2 ( ) const
globjects::TextureHandle::operator glm::uvec2 ( ) const

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