.TH "SoGLDisplayList" 3 "Thu May 29 2014" "Version 4.0.0a" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoGLDisplayList \- .PP The \fBSoGLDisplayList\fP class stores and manages OpenGL display lists\&. .PP The TEXTURE_OBJECT type is not directly supported in Coin\&. We handle textures differently in a more flexible class called \fBSoGLImage\fP, which also stores some information about the texture used when rendering\&. Old code which use this element should not stop working though\&. The texture object extension will just not be used, and the texture will be stored in a display list instead\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "enum \fBType\fP { \fBDISPLAY_LIST\fP, \fBTEXTURE_OBJECT\fP }" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSoGLDisplayList\fP (\fBSoState\fP *state, Type type, int allocnum=1, SbBool mipmaptexobj=FALSE)" .br .ti -1c .RI "void \fBref\fP (void)" .br .ti -1c .RI "void \fBunref\fP (\fBSoState\fP *state=NULL)" .br .ti -1c .RI "void \fBopen\fP (\fBSoState\fP *state, int index=0)" .br .ti -1c .RI "void \fBclose\fP (\fBSoState\fP *state)" .br .ti -1c .RI "void \fBcall\fP (\fBSoState\fP *state, int index=0)" .br .ti -1c .RI "void \fBaddDependency\fP (\fBSoState\fP *state)" .br .ti -1c .RI "SbBool \fBisMipMapTextureObject\fP (void) const " .br .ti -1c .RI "Type \fBgetType\fP (void) const " .br .ti -1c .RI "int \fBgetNumAllocated\fP (void) const " .br .ti -1c .RI "unsigned int \fBgetFirstIndex\fP (void) const " .br .ti -1c .RI "int \fBgetContext\fP (void) const " .br .ti -1c .RI "void \fBsetTextureTarget\fP (int target)" .br .ti -1c .RI "int \fBgetTextureTarget\fP (void) const " .br .in -1c .SH "Detailed Description" .PP The \fBSoGLDisplayList\fP class stores and manages OpenGL display lists\&. .PP The TEXTURE_OBJECT type is not directly supported in Coin\&. We handle textures differently in a more flexible class called \fBSoGLImage\fP, which also stores some information about the texture used when rendering\&. Old code which use this element should not stop working though\&. The texture object extension will just not be used, and the texture will be stored in a display list instead\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoGLDisplayList::SoGLDisplayList (\fBSoState\fP *state, Typetype, intallocnum = \fC1\fP, SbBoolmipmaptexobj = \fCFALSE\fP)" Constructor\&. .SH "Member Function Documentation" .PP .SS "void SoGLDisplayList::ref (void)" Increase reference count for this display list/texture object\&. .SS "void SoGLDisplayList::unref (\fBSoState\fP *state = \fCNULL\fP)" Decrease reference count for this instance\&. When reference count reaches 0, the instence is deleted\&. .SS "void SoGLDisplayList::open (\fBSoState\fP *state, intindex = \fC0\fP)" Open this display list/texture object\&. .SS "void SoGLDisplayList::close (\fBSoState\fP *state)" Close this display list/texture object\&. .SS "void SoGLDisplayList::call (\fBSoState\fP *state, intindex = \fC0\fP)" Execute this display list/texture object\&. .SS "void SoGLDisplayList::addDependency (\fBSoState\fP *state)" Create a dependency on the display list\&. .SS "SbBool SoGLDisplayList::isMipMapTextureObject (void) const" Returns whether the texture object stored in this instance was created with mipmap data\&. This method is an extension versus the Open Inventor API\&. .SS "SoGLDisplayList::Type SoGLDisplayList::getType (void) const" Return type\&. Display list or texture object\&. .SS "int SoGLDisplayList::getNumAllocated (void) const" Return number of display lists/texture objects allocated\&. .SS "unsigned int SoGLDisplayList::getFirstIndex (void) const" Return first GL index for this display list\&. .SS "int SoGLDisplayList::getContext (void) const" Return an id for the current context\&. .SS "void SoGLDisplayList::setTextureTarget (inttarget)" Sets the texture object target .PP \fBSince:\fP .RS 4 Coin 2\&.5 .RE .PP .SS "int SoGLDisplayList::getTextureTarget (void) const" Returns the texture target .PP \fBSince:\fP .RS 4 Coin 2\&.5 .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.