Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GeomContext Class Reference

This is a special class object that holds all the information returned by a particular GSG to indicate the geom's internal context identifier. More...

Inheritance diagram for GeomContext:
SavedContext TypedObject

Public Member Functions

Geom getGeom ()
 
- Public Member Functions inherited from TypedObject
TypeHandle getType ()
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly. More...
 
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type. More...
 

Static Public Member Functions

static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from SavedContext
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Public Attributes

Geom geom
 
- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

Detailed Description

This is a special class object that holds all the information returned by a particular GSG to indicate the geom's internal context identifier.

Geoms typically have an immediate-mode and a retained-mode operation. When using geoms in retained-mode (in response to Geom::prepare()), the GSG will create some internal handle for the geom and store it here. The geom stores all of these handles internally.

In the case of OpenGL, for example, a GeomContext corresponds to a display list identifier.

Member Function Documentation

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getGeom()

Geom getGeom ( )

Member Data Documentation

◆ geom

Geom geom