Panda3D
Public Member Functions | Static Public Member Functions

SavedContext Class Reference

This is the base class for all GSG-specific context objects, such as TextureContext and GeomContext. More...

Inheritance diagram for SavedContext:
TypedObject MemoryBase BufferContext GeomContext ShaderContext IndexBufferContext TextureContext VertexBufferContext

List of all members.

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 ()

Detailed Description

This is the base class for all GSG-specific context objects, such as TextureContext and GeomContext.

It exists mainly to provide some structural organization.


Member Function Documentation

static TypeHandle getClassType ( ) [static]
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.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties