API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Cameras
CameraManager.h
1
// CameraManager.h
3
//
5
6
namespace
nkGraphics
7
{
14
class
CameraManager
final :
public
Manager
<Camera>,
public
nkCommon::MaybeSingletonClass<CameraManager>
15
{
16
public :
17
18
// Getters
22
Camera
*
getActiveRenderCamera
()
const
;
26
Camera
*
getActiveCullingCamera
()
const
;
30
Camera
*
getActiveLodCamera
()
const
;
34
Camera
*
getDefaultCamera
()
const
;
35
36
// Setters
43
void
setActiveRenderCamera
(
Camera
* cam) ;
50
void
setActiveCullingCamera
(
Camera
* cam) ;
57
void
setActiveLodCamera
(
Camera
* cam) ;
63
void
setDefaultCamera
(
Camera
* cam) ;
64
67
void
resetRenderCameraToDefault
() ;
71
void
resetCullingCameraToDefault
() ;
75
void
resetLodCameraToDefault
() ;
76
85
void
prepareForContext
(
RenderContext
* context) ;
86
} ;
87
}
nkGraphics::CameraManager::resetRenderCameraToDefault
void resetRenderCameraToDefault()
nkGraphics::CameraManager::resetLodCameraToDefault
void resetLodCameraToDefault()
nkGraphics::Camera
Offers all controls to model a camera.
Definition:
Camera.h:14
nkGraphics::RenderContext
A rendering context, attached to a window or an offscreen texture.
Definition:
RenderContext.h:14
nkGraphics::CameraManager::prepareForContext
void prepareForContext(RenderContext *context)
nkGraphics::Manager
Base class for resource managers.
Definition:
Manager.h:13
nkGraphics::CameraManager::getActiveRenderCamera
Camera * getActiveRenderCamera() const
nkGraphics::CameraManager::setDefaultCamera
void setDefaultCamera(Camera *cam)
nkGraphics::CameraManager::getActiveLodCamera
Camera * getActiveLodCamera() const
nkGraphics::CameraManager::resetCullingCameraToDefault
void resetCullingCameraToDefault()
nkGraphics::CameraManager
Manages the cameras recorded.
Definition:
CameraManager.h:15
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition:
BoundingBox.h:7
nkGraphics::CameraManager::getActiveCullingCamera
Camera * getActiveCullingCamera() const
nkGraphics::CameraManager::setActiveLodCamera
void setActiveLodCamera(Camera *cam)
nkGraphics::CameraManager::setActiveRenderCamera
void setActiveRenderCamera(Camera *cam)
nkGraphics::CameraManager::setActiveCullingCamera
void setActiveCullingCamera(Camera *cam)
nkGraphics::CameraManager::getDefaultCamera
Camera * getDefaultCamera() const
Generated by
Doxygen
1.8.18