36 struct FrameBufferSize;
125 virtual void render() = 0;
virtual std::string getInfo()
virtual void initRenderState()
Base class for all cameras (composite node, abstract).
Local header file for GLM OpenGL Mathematics library.
Central viewer managing window, controllers, animations, and main loop.
Frame buffer size, to be set by renderer in Renderer::initViewer(), called by Viewer::init().
virtual void initViewer(Viewer *viewer, FrameBufferSize *frameBufferSize)=0
void setLighting(bool isLightingEnabled)
bool isLightingEnabled() const
RenderStateUP renderState_
void setScene(NodeSP scene)
The central render state that collects information about the current shader, transformations,...
void setGlobalAmbientLight(const glm::vec4 &globalAmbientLight)
Internal definitions required by most classes.
void setCamera(CameraSP camera)
Base class for all nodes (composite pattern, abstract).
Base class for all renderers (abstract).