Encapsulates texture attachments of a frame buffer object.
Definition AttachedTexture.h:28
const Texture * texture() const
Texture * m_texture
Definition AttachedTexture.h:44
virtual bool isTextureAttachment() const override
gl::GLint m_layer
Definition AttachedTexture.h:46
gl::GLint m_level
Definition AttachedTexture.h:45
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:35