Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
SavedContext Class Reference

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

#include "savedContext.h"

Inheritance diagram for SavedContext:
TypedObject MemoryBase BufferContext GeomContext SamplerContext ShaderContext IndexBufferContext TextureContext VertexBufferContext DXShaderContext9 DXIndexBufferContext9 DXTextureContext9 DXVertexBufferContext9

Public Member Functions

virtual TypeHandle force_init_type ()
 
virtual TypeHandle get_type () const
 
virtual void output (std::ostream &out) const
 
virtual void write (std::ostream &out, int indent_level) const
 
- Public Member Functions inherited from TypedObject
 TypedObject (const TypedObject &copy)=default
 
TypedObjectas_typed_object ()
 Returns the object, upcast (if necessary) to a TypedObject pointer.
 
const TypedObjectas_typed_object () const
 Returns the object, upcast (if necessary) to a TypedObject pointer.
 
int get_best_parent_from_Set (const std::set< int > &) const
 
int get_type_index () const
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
 
bool is_exact_type (TypeHandle handle) const
 Returns true if the current object is the indicated type exactly.
 
bool is_of_type (TypeHandle handle) const
 Returns true if the current object is or derives from the indicated type.
 
TypedObjectoperator= (const TypedObject &copy)=default
 
- Public Member Functions inherited from MemoryBase
void operator delete (void *, void *)
 
void operator delete (void *ptr)
 
void operator delete[] (void *, void *)
 
void operator delete[] (void *ptr)
 
void * operator new (size_t size)
 
void * operator new (size_t size, void *ptr)
 
void * operator new[] (size_t size)
 
void * operator new[] (size_t size, void *ptr)
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle get_class_type ()
 
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.
 

Additional Inherited Members

- Public Attributes inherited from TypedObject
 get_type
 

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.

Definition at line 26 of file savedContext.h.

Constructor & Destructor Documentation

◆ SavedContext()

SavedContext::SavedContext ( )
inline

Definition at line 17 of file savedContext.I.

Member Function Documentation

◆ force_init_type()

virtual TypeHandle SavedContext::force_init_type ( )
inlinevirtual

Implements TypedObject.

Definition at line 46 of file savedContext.h.

◆ get_class_type()

static TypeHandle SavedContext::get_class_type ( )
inlinestatic

Definition at line 34 of file savedContext.h.

◆ get_type()

virtual TypeHandle SavedContext::get_type ( ) const
inlinevirtual

Implements TypedObject.

Definition at line 43 of file savedContext.h.

◆ init_type()

static void SavedContext::init_type ( )
inlinestatic

Definition at line 38 of file savedContext.h.

◆ output()

void SavedContext::output ( std::ostream & out) const
virtual

Definition at line 22 of file savedContext.cxx.

◆ write()

void SavedContext::write ( std::ostream & out,
int indent_level ) const
virtual

Definition at line 30 of file savedContext.cxx.


The documentation for this class was generated from the following files: