#ifndef TNL_SCENERENDERPASS_H #define TNL_SCENERENDERPASS_H #include #include #include #include "RenderPass.h" #include "RenderContext.h" #include "Weak.h" /// A render pass that draws the game's main 3d scene, including actors, /// according to a description given in a RenderContext. class SceneRenderPass : public RenderPass { public: SceneRenderPass(Ptr, const RenderContext &); ~SceneRenderPass(); inline Ptr getMirrorTexture() { return mirror_tex; } inline Ptr getMirrorCamera() { return mirror_cam; } /// Public render context to configure the scene rendering RenderContext context; protected: void draw(); WeakPtr thegame; Ptr mirror_tex; Ptr mirror_cam; }; #endif