Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/display/graphicsEngine.I File Reference

Go to the source code of this file.

Functions

 PT (GraphicsStateGuardian) GraphicsEngine
 Creates a new gsg using the indicated GraphicsPipe and returns it.


Detailed Description

Definition in file graphicsEngine.I.


Function Documentation

PT GraphicsStateGuardian   )  [inline]
 

Creates a new gsg using the indicated GraphicsPipe and returns it.

The GraphicsEngine does not officially own the pointer to the gsg; but if any windows are created using this GSG, the GraphicsEngine will own the pointers to these windows, which in turn will own the pointer to the GSG.

There is no explicit way to release a GSG, but it will be destructed when all windows that reference it are destructed, and the draw thread that owns the GSG runs one more time.

This flavor of make_gsg() uses the default threading model, specified via set_threading_model().

Definition at line 117 of file graphicsEngine.I.


Generated on Fri May 2 00:45:18 2003 for Panda by doxygen1.3