|
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_transform (const gdk::graphics_vector3_type &aWorldPos, const gdk::graphics_quaternion_type &aRotation)=0 |
| checks whether a point in world space is within the camera's frustum
|
|
virtual void | set_transform (const gdk::graphics_matrix4x4_type &aMatrix)=0 |
|
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
controls which buffers in the active frame buffer object to clear
Enumerator |
---|
nothing | Do not clear any buffers.
|
color_and_depth | Clear the color and depth buffers.
|
depth_only | Clear the Depth buffer.
|
◆ set_clear_color()
virtual void gdk::camera::set_clear_color |
( |
const gdk::color & | acolor | ) |
|
|
pure virtual |
◆ set_clear_mode()
virtual void gdk::camera::set_clear_mode |
( |
const clear_mode | aClearMode | ) |
|
|
pure virtual |
◆ set_orthographic_projection()
virtual void gdk::camera::set_orthographic_projection |
( |
const float | aWidth, |
|
|
const float | aHeight, |
|
|
const float | aNearClippingPlane, |
|
|
const float | aFarClippingPlane, |
|
|
const float | aViewportAspectRatio ) |
|
pure virtual |
◆ set_perspective_projection()
virtual void gdk::camera::set_perspective_projection |
( |
const float | aFieldOfView, |
|
|
const float | aNearClippingPlane, |
|
|
const float | aFarClippingPlane, |
|
|
const float | aViewportAspectRatio ) |
|
pure virtual |
◆ set_transform()
virtual void gdk::camera::set_transform |
( |
const gdk::graphics_vector3_type & | aWorldPos, |
|
|
const gdk::graphics_quaternion_type & | aRotation ) |
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/deck/Workspace/gdk-test_game/thirdparty/gdk-graphics/include/gdk/camera.h