C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class GraphicsMgr

Defined in:  C4Graphics.h
The Graphics Manager class.
Definition

class GraphicsMgr : public Manager<GraphicsMgr>

Member Functions
GraphicsMgr::GetCameraObject Returns the current camera object.
GraphicsMgr::GetCameraTransformable Returns the current camera transform.
GraphicsMgr::SetCamera Sets the current camera.
GraphicsMgr::GetLightObject Returns the current light object.
GraphicsMgr::GetLightTransformable Returns the current light transform.
GraphicsMgr::SetLight Sets the current light.
GraphicsMgr::SetAmbient Sets the lighting mode to ambient.
GraphicsMgr::BeginRendering Begins the process of rendering a frame.
GraphicsMgr::EndRendering Ends the process of rendering a frame and displays the final image.
GraphicsMgr::DrawRenderList Draws a list of renderable objects.
Description
The GraphicsMgr class encapsulates the 3D graphics rendering facilities of the C4 Engine. The single instance of the Graphics Manager is constructed during an application's initialization and destroyed at termination.

The Graphics Manager's member functions are accessed through the global pointer TheGraphicsMgr.
See Also

Renderable