Panda3D
|
This is the base class for all GSG-specific context objects, such as TextureContext and GeomContext. More...
Public Member Functions | |
TypeHandle | getType () |
int | getTypeIndex () |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. | |
bool | isExactType (TypeHandle handle) |
Returns true if the current object is the indicated type exactly. | |
bool | isOfType (TypeHandle handle) |
Returns true if the current object is or derives from the indicated type. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
This is the base class for all GSG-specific context objects, such as TextureContext and GeomContext.
It exists mainly to provide some structural organization.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from TypedObject.
Reimplemented in BufferContext, GeomContext, TextureContext, ShaderContext, VertexBufferContext, and IndexBufferContext.
TypeHandle getType | ( | ) | [inherited] |
Reimplemented in AnimChannelBase.
int getTypeIndex | ( | ) | [inherited] |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
This is equivalent to get_type().get_index().
bool isExactType | ( | TypeHandle | handle | ) | [inherited] |
Returns true if the current object is the indicated type exactly.
bool isOfType | ( | TypeHandle | handle | ) | [inherited] |
Returns true if the current object is or derives from the indicated type.