SoGLDisplayList - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin

NAMESoGLDisplayList − The SoGLDisplayList class stores and manages OpenGL display lists​.

SYNOPSIS
#include <Inventor/elements/SoGLCacheContextElement​.h>

Public Typesenum Type { DISPLAY_LIST, TEXTURE_OBJECT }

Public Member FunctionsSoGLDisplayList (SoState *state, Type type, int allocnum=1, SbBool mipmaptexobj=FALSE)
void ref (void)
void unref (SoState *state=NULL)
void open (SoState *state, int index=0)
void close (SoState *state)
void call (SoState *state, int index=0)
void addDependency (SoState *state)
SbBool isMipMapTextureObject (void) const
Type getType (void) const
int getNumAllocated (void) const
unsigned int getFirstIndex (void) const
int getContext (void) const
void setTextureTarget (int target)
int getTextureTarget (void) const

Detailed DescriptionThe SoGLDisplayList class stores and manages OpenGL display lists​. The TEXTURE_OBJECT type is not directly supported in Coin​. We handle textures differently in a more flexible class called SoGLImage, 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​.

Constructor & Destructor Documentation

SoGLDisplayList::SoGLDisplayList (SoState * state, Type type, int allocnum = 1, SbBool mipmaptexobj = FALSE)Constructor​.

Member Function Documentation

void SoGLDisplayList::ref (void)Increase reference count for this display list/texture object​.

void SoGLDisplayList::unref (SoState * state = NULL)Decrease reference count for this instance​. When reference count reaches 0, the instence is deleted​.

void SoGLDisplayList::open (SoState * state, int index = 0)Open this display list/texture object​.

void SoGLDisplayList::close (SoState * state)Close this display list/texture object​.

void SoGLDisplayList::call (SoState * state, int index = 0)Execute this display list/texture object​.

void SoGLDisplayList::addDependency (SoState * state)Create a dependency on the display list​.

SbBool SoGLDisplayList::isMipMapTextureObject (void) constReturns whether the texture object stored in this instance was created with mipmap data​. This method is an extension versus the Open Inventor API​.

SoGLDisplayList::Type SoGLDisplayList::getType (void) constReturn type​. Display list or texture object​.

int SoGLDisplayList::getNumAllocated (void) constReturn number of display lists/texture objects allocated​.

unsigned int SoGLDisplayList::getFirstIndex (void) constReturn first GL index for this display list​.

int SoGLDisplayList::getContext (void) constReturn an id for the current context​.

void SoGLDisplayList::setTextureTarget (int target)Sets the texture object target Since Coin 2​.5

int SoGLDisplayList::getTextureTarget (void) constReturns the texture target Since Coin 2​.5

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   17,173 byte
man-SoGLDisplayList.3coin4Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 193,017
Visitor ID   :     :  
Visitor IP   :   3.135.215.149   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.