Nebula
Loading...
Searching...
No Matches
viewerapplication.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
14#include "graphics/stage.h"
15#include "graphics/view.h"
16#include "graphics/cameraentity.h"
19#include "debugrender/debugshaperenderer.h"
20#include "debugrender/debugtextrenderer.h"
21
22//------------------------------------------------------------------------------
23namespace App
24{
58
59} // namespace Graphics
60//------------------------------------------------------------------------------
61
62
Render application class with multithreaded rendering.
Definition renderapplication.h:38
Derived from RenderApplication, adds support for Stages, Views and GraphicsEntities to the asynchrono...
Definition viewerapplication.h:26
virtual void OnProcessInput()
process input (called before rendering)
Definition viewerapplication.cc:139
Ptr< Debug::DebugShapeRenderer > debugShapeRenderer
Definition viewerapplication.h:47
virtual ~ViewerApplication()
destructor
Definition viewerapplication.cc:43
bool useResolveRect
Definition viewerapplication.h:43
virtual void OnUpdateFrame()
update world
Definition viewerapplication.cc:235
Ptr< Graphics::CameraEntity > camera
Definition viewerapplication.h:51
virtual bool Open()
open the application
Definition viewerapplication.cc:52
Ptr< Graphics::View > view
Definition viewerapplication.h:50
RenderUtil::MayaCameraUtil mayaCameraUtil
Definition viewerapplication.h:53
Ptr< Graphics::Stage > stage
Definition viewerapplication.h:49
Ptr< Graphics::GraphicsServer > graphicsServer
Definition viewerapplication.h:46
Ptr< Debug::DebugTextRenderer > debugTextRenderer
Definition viewerapplication.h:48
Math::rectangle< int > resolveRect
Definition viewerapplication.h:44
virtual void Close()
close the application
Definition viewerapplication.cc:116
ViewerApplication()
constructor
Definition viewerapplication.cc:34
A 2d rectangle class.
Definition rectangle.h:20
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Implements a free camera.
Definition freecamerautil.h:19
Helper class to implement a "Maya camera" with pan/zoom/orbit.
Definition mayacamerautil.h:25
Definition gameapplication.cc:24