#include <iso_gl_buffered_texture.h>
Inherits iso::gl::Texture.
Inheritance diagram for iso::gl::BufferedTexture< DataType >:
Public Member Functions | |
BufferedTexture (DataType *pBufferData, const math::Vector< unsigned int > &pSize, GLenum pTarget, GLint pLevel, GLint pInternalFormat, GLenum pFormat) throw (GLException) | |
~BufferedTexture () | |
void | create () throw (GLException) |
create texture | |
void | update () throw (GLException) |
update texture based on internally stored buffered | |
void | update (data::Buffer< DataType > *pBuffer) throw (GLException) |
DataType * | data () |
Protected Attributes | |
DataType * | mBufferData |
iso::gl::BufferedTexture< DataType >::BufferedTexture | ( | DataType * | pBufferData, | |
const math::Vector< unsigned int > & | pSize, | |||
GLenum | pTarget, | |||
GLint | pLevel, | |||
GLint | pInternalFormat, | |||
GLenum | pFormat | |||
) | throw (GLException) |
iso::gl::BufferedTexture< DataType >::~BufferedTexture | ( | ) |
void iso::gl::BufferedTexture< DataType >::create | ( | ) | throw (GLException) [virtual] |
void iso::gl::BufferedTexture< DataType >::update | ( | ) | throw (GLException) [virtual] |
update texture based on internally stored buffered
has no meaning in this base class
Reimplemented from iso::gl::Texture.
void iso::gl::BufferedTexture< DataType >::update | ( | data::Buffer< DataType > * | pBuffer | ) | throw (GLException) |
DataType * iso::gl::BufferedTexture< DataType >::data | ( | ) |
DataType* iso::gl::BufferedTexture< DataType >::mBufferData [protected] |