List of all members.
Public Attributes |
bool | m_clear_depth_buffer |
Protected Attributes |
glm::mat4 | m_modelMatrix |
float | m_duration |
View * | m_view |
Geometry * | m_pkGeometry |
Constructor & Destructor Documentation
MyRenderer::MyRenderer |
( |
void |
| ) |
|
MyRenderer::~MyRenderer |
( |
void |
| ) |
|
Member Function Documentation
void MyRenderer::BindShader |
( |
| ) |
|
This method binds a shader
virtual void MyRenderer::ClearAccumBuffer |
( |
| ) |
|
|
inlinepure virtual |
This method clears the accumulation buffer
Implemented in RendererOpenGL.
virtual void MyRenderer::ClearColorBuffer |
( |
| ) |
|
|
inlinepure virtual |
virtual void MyRenderer::ClearDepthBuffer |
( |
| ) |
|
|
inlinepure virtual |
virtual void MyRenderer::ClearStencilBuffer |
( |
| ) |
|
|
inlinepure virtual |
virtual void MyRenderer::DisableBackFaceCulling |
( |
| ) |
|
|
inlinepure virtual |
virtual void MyRenderer::DisableTexture |
( |
Texture::TexturePtr |
texture, |
|
|
int |
i |
|
) |
| |
|
inlineprotectedpure virtual |
This method disable a texture
- Parameters:
-
texture | Texture to enable |
i | position in texturestack |
Implemented in RendererOpenGL.
void MyRenderer::DisableTextures |
( |
| ) |
|
This methods disables all textures in the view
virtual void MyRenderer::DrawGeometry |
( |
| ) |
|
|
protectedpure virtual |
virtual void MyRenderer::DrawVertexGeometry |
( |
| ) |
|
|
protectedpure virtual |
void MyRenderer::DrawView |
( |
View * |
node | ) |
|
This method draws the view
virtual void MyRenderer::EnableBackFaceCulling |
( |
| ) |
|
|
inlinepure virtual |
virtual void MyRenderer::EnableTexture |
( |
Texture::TexturePtr |
texture, |
|
|
int |
i |
|
) |
| |
|
inlineprotectedpure virtual |
This method enables a texture
- Parameters:
-
texture | Texture to enable |
i | position in texturestack |
Implemented in RendererOpenGL.
void MyRenderer::EnableTextures |
( |
| ) |
|
This methods enables all textures in the view
virtual void MyRenderer::GetErrors |
( |
| ) |
|
|
inlinepure virtual |
virtual void MyRenderer::SetBackCulling |
( |
| ) |
|
|
inlinepure virtual |
This method sets the culling mode to BACK
Implemented in RendererOpenGL.
virtual void MyRenderer::SetClearColor |
( |
glm::vec4 |
color | ) |
|
|
inlinepure virtual |
This method sets the clear color
- Parameters:
-
Implemented in RendererOpenGL.
virtual void MyRenderer::SetFrontCulling |
( |
| ) |
|
|
inlinepure virtual |
This method sets the culling mode to FRONT
Implemented in RendererOpenGL.
void MyRenderer::SetUniformsGlobal |
( |
| ) |
|
This method sets the global uniforms of the shader
void MyRenderer::SetUniformsObject |
( |
| ) |
|
This method sets the uniforms of the shader
virtual void MyRenderer::SwapBuffer |
( |
| ) |
|
|
inlinepure virtual |
void MyRenderer::TraverseSceneGraph |
( |
INode * |
inode, |
|
|
glm::mat4 |
m |
|
) |
| |
|
protected |
This method traverese the scene graph
- Parameters:
-
inode | actual node in the rendering graph |
m | actual matrix |
The documentation for this class was generated from the following files: