|
virtual void | set_perspective_projection (const float aFieldOfView, const float aNearClippingPlane, const float aFarClippingPlane, const float aViewportAspectRatio)=0 |
| sets the projection matrix to a perspective projection
|
|
virtual void | set_orthographic_projection (const float aWidth, const float aHeight, const float aNearClippingPlane, const float aFarClippingPlane, const float aViewportAspectRatio)=0 |
| sets the projection matrix to an orthographic projection
|
|
virtual void | set_view_matrix (const gdk::graphics_vector3_type &aWorldPos, const gdk::graphics_quaternion_type &aRotation)=0 |
| rebuilds the view matrix from a 3d position and rotation
|
|
virtual void | set_clear_color (const gdk::color &acolor)=0 |
| sets the clear color, used to fill color buffer after it is cleared.
|
|
virtual void | set_clear_mode (const clear_mode aClearMode)=0 |
| clear mode decides which buffers to clear. see enum
|
|
◆ clear_mode
Describes camera clear behaviour: which buffers in the current FBO should be cleared?
Enumerator |
---|
nothing | Do not clear any buffers.
|
color_and_depth | Clear the color and depth buffers.
|
depth_only | Clear the Depth buffer.
|
The documentation for this class was generated from the following file:
- /home/travis/build/jfcameron/gdk-graphics/include/gdk/camera.h