18 #ifndef __H__OCULAR_RENDERER_WINDOW__H__
19 #define __H__OCULAR_RENDERER_WINDOW__H__
22 #include "WindowManager.hpp"
23 #include "WindowDisplay.hpp"
24 #include "WindowDescriptor.hpp"
25 #include "Events/AEventListener.hpp"
79 virtual bool onEvent(std::shared_ptr<AEvent> event)
override;
91 void resize(uint32_t width, uint32_t height);
164 virtual void open() = 0;
169 virtual void update(uint64_t time) = 0;
174 virtual void close() = 0;
Definition: WindowManager.hpp:50
void setDepthTexture(Graphics::DepthTexture *depthTexture)
Definition: Window.cpp:143
void setRenderTexture(Graphics::RenderTexture *renderTexture)
Definition: Window.cpp:127
A special texture that stores high precision depth information for each pixel.
Definition: DepthTexture.hpp:41
A special texture that can be rendered directly to.
Definition: RenderTexture.hpp:41
Definition: WindowDescriptor.hpp:78
Definition: AEventListener.hpp:43
AWindow(WindowDescriptor const &descriptor)
Definition: Window.cpp:34
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Graphics::RenderTexture * getRenderTexture()
Definition: Window.cpp:122
void * getOSPointer() const
Definition: Window.cpp:159
Definition: Window.hpp:60
virtual void update(uint64_t time)=0
void resize(uint32_t width, uint32_t height)
Definition: Window.cpp:83
void setDescriptor(WindowDescriptor const &descriptor)
Definition: Window.cpp:117
Graphics::DepthTexture * getDepthTexture()
Definition: Window.cpp:138
virtual bool onEvent(std::shared_ptr< AEvent > event) override
Definition: Window.cpp:63
WindowDescriptor getDescriptor() const
Definition: Window.cpp:112
Base class of all representable Ocular constructs.
Definition: Object.hpp:44
virtual void showCursor(bool show)
Definition: Window.cpp:154