Go to the source code of this file.
Functions | |
PT (GraphicsStateGuardian) GraphicsEngine | |
Creates a new gsg using the indicated GraphicsPipe and returns it. |
Definition in file graphicsEngine.I.
|
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. |