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...

#include "savedContext.h"

Inheritance diagram for SavedContext:
TypedObject MemoryBase BufferContext GeomContext ShaderContext IndexBufferContext TextureContext VertexBufferContext DXShaderContext9 DXIndexBufferContext8 DXIndexBufferContext9 DXTextureContext8 DXTextureContext9 TinyTextureContext DXVertexBufferContext8

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
virtual void output (ostream &out) const
virtual void write (ostream &out, int indent_level) const

Static Public Member Functions

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.

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 29 of file savedContext.h.


Member Function Documentation

static void SavedContext::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from TypedObject.

Reimplemented in DXShaderContext9, DXTextureContext9, BufferContext, TextureContext, DXTextureContext8, VertexBufferContext, IndexBufferContext, GeomContext, ShaderContext, DXIndexBufferContext9, DXVertexBufferContext8, DXIndexBufferContext8, and TinyTextureContext.

Definition at line 41 of file savedContext.h.

References TypedObject::init_type().

Referenced by GeomContext::init_type(), and BufferContext::init_type().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations