#include <iso_visual_gl.h>
Inherits iso::visual::GLData, and iso::visual::GLInitObject.
Inherited by iso::visual::GLTypedImage< DataType >.
Inheritance diagram for iso::visual::GLImage:
Public Member Functions | |
GLImage (const base::String &pName, const math::Vector< unsigned int > &pSize, ColorType pColorType) | |
virtual | ~GLImage () |
const math::Vector< unsigned int > & | size () const |
ColorType | colorType () const |
gl::Texture * | texture () throw (VisualException) |
void | mapToShader () throw (VisualException) |
Protected Attributes | |
math::Vector< unsigned int > | mSize |
ColorType | mColorType |
gl::Texture * | mTexture |
GLImage::GLImage | ( | const base::String & | pName, | |
const math::Vector< unsigned int > & | pSize, | |||
ColorType | pColorType | |||
) |
GLImage::~GLImage | ( | ) | [virtual] |
const math::Vector< unsigned int > & GLImage::size | ( | ) | const |
ColorType GLImage::colorType | ( | ) | const |
gl::Texture * GLImage::texture | ( | ) | throw (VisualException) |
void GLImage::mapToShader | ( | ) | throw (VisualException) [virtual] |
Implements iso::visual::GLData.
math::Vector<unsigned int> iso::visual::GLImage::mSize [protected] |
ColorType iso::visual::GLImage::mColorType [protected] |
gl::Texture* iso::visual::GLImage::mTexture [protected] |