API Documentation
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
35 
36  // Setters
57  void setActiveLodCamera (Camera* cam) ;
63  void setDefaultCamera (Camera* cam) ;
64 
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