#include <GlRenderer.hpp>
Inheritance diagram for Solar::GlRenderer:
Solar::GlRenderer renderer(getMyMaterials()); renderer.initGlState(); Solar::Object *object = getMyObject(); object->render(&renderer);
|
|
|
|
|
|
|
|
|
Implements Solar::Renderer. |
|
Sets the materials without deleting the old materials.
|
|
Begins to draw a model.
Implements Solar::Renderer. |
|
End drawing the current model.
Implements Solar::Renderer. |
|
Render the triangles.
Implements Solar::Renderer. |
|
Render the triangles.
Implements Solar::Renderer. |
|
Render the triangles.
Implements Solar::Renderer. |
|
Pushes a new transform to the system.
Implements Solar::Renderer. |
|
Removes a trnasform from the transform stack.
Implements Solar::Renderer. |
|
Initializes the OpenGL state machine for rendering the objects. This method needs to be called if the OpenGL state is wrong for the rendering. |
|
|
|
This method switches OpenGL to a new 2D texture. If the texture is the same as the previous texture, then no operation is performed.
|
|
This method enables/disables blending of the OpenGL state machine.
|
|
Switch OpenGL lights on/off.
|
|
|
|
|
|
|
|
Sets materials, textures, colors, transparencies etc.
|
|
Checks if there is a diplay list for this graphic. If there is no list storage, then no list-related stuff is done and NO_LIST is returned. If the list exists, then it is rendered. If the the list does not exist, but there is a list storage, then its recording is began. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|