void initialize(RenderBuffer const &_buf, GLuint _target=GL_TEXTURE_2D)
Initialize texture data from render buffer.
Definition: Texture32F.cpp:53
void destroy()
Definition: Texture32F.cpp:36
Texture32F()
Definition: Texture32F.cpp:26
QSize size_
Definition: Texture32F.h:57
RGBA Texture with 32-bit float for each channel.
Definition: Texture32F.h:30
GLuint target_
Definition: Texture32F.h:58
GLuint target() const
Return GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE.
Definition: Texture32F.cpp:45
void release()
Release texture with glBindTexture(target,0)
Definition: Texture32F.cpp:78
~Texture32F()
Definition: Texture32F.cpp:32
void bind()
Bind texture with glBindTexture(target,texId)
Definition: Texture32F.cpp:72
GLuint texId_
Definition: Texture32F.h:59
GLuint textureId() const
Return id of this texture.
Definition: Texture32F.cpp:49