Fillwave  10.0.0
List of all members | Public Member Functions | Public Attributes
flw::flc::Texture2DRenderable Class Reference

One can render to this texture and use the rendered image as a 2D texture. More...

#include <Texture2DRenderable.h>

Public Member Functions

 Texture2DRenderable (GLenum attachment, flc::TextureConfig *file, ParameterList &parameters)
 
void resize (GLint width, GLint height)
 
void bindForWriting ()
 
void bindForRendering ()
 
void bindForReading ()
 
void setAttachment (GLenum attachment, GLenum target=GL_TEXTURE_2D)
 
void attachTexture2DDraw (GLenum attachment, GLenum target, GLuint texHandle)
 
void attachTexture2D (GLenum attachment, GLenum target, GLuint textureHandle)
 
void copyTo (Framebuffer *source)
 
void copyFrom (Framebuffer *source)
 
virtual void reload ()
 
void log ()
 

Public Attributes

Texture2D mTexture2D
 

Detailed Description

One can render to this texture and use the rendered image as a 2D texture.


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