Flow Visualisation
render::SceneContext Class Reference

Represents the current state of rendering. More...

#include <SceneContext.h>

Public Member Functions

void reset ()
 active shader More...
 
void set_activeShader (Shader *shader)
 Sets the active shader. More...
 
Shaderget_activeShader ()
 Returns the active shader. More...
 
void set_viewProjectionMatrix (glm::mat4 viewProjectionMatrix)
 Sets the active camera marix. More...
 
const glm::mat4get_viewProjectionMatrix ()
 Returns the active camera matrix. More...
 

Detailed Description

Represents the current state of rendering.

Member Function Documentation

Shader* render::SceneContext::get_activeShader ( )
inline

Returns the active shader.

const glm::mat4& render::SceneContext::get_viewProjectionMatrix ( )
inline

Returns the active camera matrix.

void render::SceneContext::reset ( )
inline

active shader

void render::SceneContext::set_activeShader ( Shader shader)
inline

Sets the active shader.

void render::SceneContext::set_viewProjectionMatrix ( glm::mat4  viewProjectionMatrix)
inline

Sets the active camera marix.


The documentation for this class was generated from the following file: