Omnidome
Fulldome Mapping Software Toolkit
|
RGBA Texture with 32-bit float for each channel. More...
#include <Texture32F.h>
Public Member Functions | |
Texture32F () | |
Texture32F (RenderBuffer const &_buf, GLuint _target=GL_TEXTURE_2D) | |
Construct from render buffer and initialize. More... | |
~Texture32F () | |
void | initialize (RenderBuffer const &_buf, GLuint _target=GL_TEXTURE_2D) |
Initialize texture data from render buffer. More... | |
void | destroy () |
void | bind () |
Bind texture with glBindTexture(target,texId) More... | |
void | release () |
Release texture with glBindTexture(target,0) More... | |
GLuint | target () const |
Return GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE. More... | |
GLuint | textureId () const |
Return id of this texture. More... | |
Private Attributes | |
QSize | size_ |
GLuint | target_ = GL_TEXTURE_2D |
GLuint | texId_ = 0 |
RGBA Texture with 32-bit float for each channel.
omni::visual::Texture32F::Texture32F | ( | RenderBuffer const & | _buf, |
GLuint | _target = GL_TEXTURE_2D |
||
) |
Construct from render buffer and initialize.
omni::visual::Texture32F::~Texture32F | ( | ) |
void omni::visual::Texture32F::bind | ( | ) |
Bind texture with glBindTexture(target,texId)
void omni::visual::Texture32F::destroy | ( | ) |
void omni::visual::Texture32F::initialize | ( | RenderBuffer const & | _buf, |
GLuint | _target = GL_TEXTURE_2D |
||
) |
Initialize texture data from render buffer.
void omni::visual::Texture32F::release | ( | ) |
Release texture with glBindTexture(target,0)
GLuint omni::visual::Texture32F::target | ( | ) | const |
Return GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE.
GLuint omni::visual::Texture32F::textureId | ( | ) | const |
Return id of this texture.
|
private |
|
private |
|
private |