#include <texDataNd.h>
Inheritance diagram for glift::TexDataArr1< T >:
TexDataArr1<T>
TexDataArr2<T>
NrrdTexData
TexDataArr1<T> TexData for arrayWrap1<T> data. Template parameter is OpenGL-compatible basic type
Definition at line 68 of file texDataNd.h.
Public Member Functions | |
TexDataArr1 (GLenum dataFormat, GLenum dataType, int size1D, const gutz::arrayWrap1< T > &arr) | |
1D Texture constructors | |
TexDataArr1 (int texOrigin, int borderW, GLenum glFormat, GLenum dataFormat, GLenum dataType, int size1D, const gutz::arrayWrap1< T > &arr) | |
TexDataArr1 (GLenum dataFormat, GLenum dataType, const gutz::vec2i &size2D, const gutz::arrayWrap1< T > &arr) | |
2D Texture constructors | |
TexDataArr1 (int texOrigin, int borderW, GLenum glFormat, GLenum dataFormat, GLenum dataType, const gutz::vec2i &size2D, const gutz::arrayWrap1< T > &arr) | |
TexDataArr1 (GLenum dataFormat, GLenum dataType, const gutz::vec3i &size3D, const gutz::arrayWrap1< T > &arr) | |
3D Texture constructors | |
TexDataArr1 (int texOrigin, int borderW, GLenum glFormat, GLenum dataFormat, GLenum dataType, const gutz::vec3i &size3D, const gutz::arrayWrap1< T > &arr) | |
gutz::arrayWrap1< T > & | array () const |
Default copy constructor, assignment operator, and destructor Accessors. | |
void | setTexData (GLenum texType, int mipLevel=0) |
Make the OpenGL call to 'glTexImage*D(...)' or 'glTexSubImage*D(...)'. | |
GLenum | texType () const |
Uses 'texType' for target Accessors. | |
gutz::vec3i | dimen () const |
void | dimen (const gutz::vec3i &dim) |
void * | data () const |
void | dataPtr (void *d) |
void | orig (const gutz::vec3i &orig) |
virtual void | setErrStream (std::ostream *os) |
Where do you want gl errors to go? they must go somewhere, so don't set it to zero please. | |
virtual std::ostream * | getErrStream () const |
Where are gl errors going? | |
Protected Member Functions | |
void | err (const char *where, const char *when=0) const |
error | |
std::ostream & | err () const |
a simpler way, just use the stream! only for always print, this one automatically adds the objects name | |
void | derr (const char *where, const char *when=0) const |
debug error | |
bool | glerr (const char *where, const char *when=0) const |
gl error report only in debug mode, only if there is an error, if so return true | |
std::ostream & | estr () const |
this one just gives you the stream | |
Protected Attributes | |
std::ostream * | m_err |
|
1D Texture constructors
Definition at line 269 of file texDataNd.h. References data, GL_TEXTURE_1D, gutz::vec3i, and void(). |
|
Definition at line 276 of file texDataNd.h. References data, GL_TEXTURE_1D, gutz::vec3i, and void(). |
|
2D Texture constructors
Definition at line 285 of file texDataNd.h. References data, GL_TEXTURE_2D, gutz::vec3i, void(), x, and y. |
|
Definition at line 292 of file texDataNd.h. References data, GL_TEXTURE_2D, gutz::vec3i, void(), x, and y. |
|
3D Texture constructors
Definition at line 301 of file texDataNd.h. References data, GL_TEXTURE_3D_EXT, gutz::vec3i, and void(). |
|
Definition at line 308 of file texDataNd.h. References data, GL_TEXTURE_3D_EXT, gutz::vec3i, and void(). |
|
Default copy constructor, assignment operator, and destructor Accessors.
Definition at line 116 of file texDataNd.h. |
|
|
|
|
|
debug error
Definition at line 122 of file gliftObject.h. References glift::GliftObject::m_err. |
|
|
|
|
|
|
error
Definition at line 101 of file gliftObject.h. References glift::GliftObject::m_err. Referenced by glift::SubPBuff::enable(). |
|
this one just gives you the stream
Definition at line 84 of file gliftObject.h. References glift::GliftObject::m_err. Referenced by glift::CoreTex::bindDef(), glift::Shader::bindDef(), glift::MultiTex::bindDef(), glift::EmptyTex::bindDef(), glift::DispList::compile(), glift::CoreTex::CoreTex(), glift::VertexProgARB::init(), glift::FragProgARB::init(), glift::MultiTex::releaseDef(), and glift::EmptyTex::releaseDef(). |
|
Where are gl errors going?
Definition at line 49 of file gliftObject.h. References glift::GliftObject::m_err. Referenced by glift::getProgShaderFromFile(), and glift::getProgShaderFromText(). |
|
gl error report only in debug mode, only if there is an error, if so return true
Definition at line 31 of file gliftObject.cpp. References glGetError(), and GLuint. Referenced by RenderState2D::bindDef(), glift::NormalAttrib< VAT >::disableDef(), glift::IndexAttrib< VAT >::disableDef(), glift::TexCoordAttrib< VAT >::disableDef(), glift::VertAttrib< VAT >::disableDef(), glift::GenDrawAttrib< VAT >::disableDef(), glift::DrawAlgImm::draw(), glift::DrawAlgArr::draw(), glift::ShadedPrim::drawDef(), glift::NormalAttrib< VAT >::enableDef(), glift::IndexAttrib< VAT >::enableDef(), glift::TexCoordAttrib< VAT >::enableDef(), glift::VertAttrib< VAT >::enableDef(), glift::GenDrawAttrib< VAT >::enableDef(), and RenderState2D::releaseDef(). |
|
|
|
Where do you want gl errors to go? they must go somewhere, so don't set it to zero please.
Definition at line 44 of file gliftObject.h. References glift::GliftObject::m_err. Referenced by glift::getProgShaderFromFile(), and glift::getProgShaderFromText(). |
|
Make the OpenGL call to 'glTexImage*D(...)' or 'glTexSubImage*D(...)'.
Definition at line 252 of file texData.cpp. |
|
Uses 'texType' for target Accessors.
Definition at line 73 of file texData.h. References GLenum. |
|
Definition at line 87 of file gliftObject.h. Referenced by glift::GliftObject::derr(), glift::GliftObject::err(), glift::GliftObject::estr(), glift::GliftObject::getErrStream(), glift::GliftObject::GliftObject(), and glift::GliftObject::setErrStream(). |