Encapsulates texture attachments of a frame buffer object.
Definition: AttachedTexture.h:27
ref_ptr< Texture > m_texture
Definition: AttachedTexture.h:42
const Texture * texture() const
virtual bool isTextureAttachment() const override
gl::GLint m_layer
Definition: AttachedTexture.h:44
gl::GLint m_level
Definition: AttachedTexture.h:43
AttachedTexture(Framebuffer *fbo, gl::GLenum attachment, Texture *texture, gl::GLint level, gl::GLint layer=-1)
Wraps OpenGL texture objects. A Texture provides both interfaces to bind them for the OpenGL pipeline...
Definition: Texture.h:31