Chicane

Instance

ヘッダー
Chicane/Renderer/Instance.hpp

コンストラクター

モディファイア名前説明
Instance(Window::Instance* inWindow)

デストラクター

モディファイア名前説明
virtual~Instance()

関数

アクセスモディファイアタイプ名前説明
publicvirtualvoidinitLayers()
publicvirtualvoidonEvent(const SDL_Event& inEvent)
publicvirtualvoidonViewportEvent()
publicvirtualvoidrender()
publicconst Viewport&getViewport() const
publicvoidsetViewport(const Viewport& inViewport)
publicSubscription<const Viewport&>*watchViewport(std::function<void (const Viewport&)> inNext, std::function<void (const std::string&)> inError, std::function<void ()> inComplete)
publicboolhasLayer(Layer::Instance* inLayer)
publicboolhasLayer(const std::string& inId)
publicvoidpushLayer(Layer::Instance* inLayer, Layer::PushStrategy inPushStrategy, const std::string& inId)
protectedvoidpushLayerStart(Layer::Instance* inLayer)
protectedvoidpushLayerBack(Layer::Instance* inLayer)
protectedvoidpushLayerBefore(const std::string& inId, Layer::Instance* inLayer)
protectedvoidpushLayerAfter(const std::string& inId, Layer::Instance* inLayer)
protectedvoidemmitEventToLayers(const SDL_Event& inEvent)
protectedvoiddestroyLayers()
protectedvoidrebuildLayers()
protectedvoiddeleteLayers()

メンバ

アクセスモディファイアタイプ名前説明
privateWindow::Instance*m_window
privateViewportm_viewport
privatestd::unique_ptr<Observable<const Viewport&>>m_viewportObservable
privatestd::vector<Layer::Instance*>m_layers