Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Class RenderModifier: Some ModelRenderer implementations provide vertex management behaviour but allow fragment stages to be modified by a plugged in RenderModifier. More...
#include <RenderModifiers.h>
Public Member Functions | |
RenderModifier () | |
virtual | ~RenderModifier () |
virtual void | BeginPass (Renderer::Backend::IDeviceCommandContext *deviceCommandContext, Renderer::Backend::IShaderProgram *shader)=0 |
BeginPass: Setup OpenGL for the given rendering pass. More... | |
virtual void | PrepareModel (Renderer::Backend::IDeviceCommandContext *deviceCommandContext, CModel *model)=0 |
PrepareModel: Called before rendering the given model. More... | |
Class RenderModifier: Some ModelRenderer implementations provide vertex management behaviour but allow fragment stages to be modified by a plugged in RenderModifier.
You should use RenderModifierPtr when referencing RenderModifiers.
|
inline |
|
inlinevirtual |
|
pure virtual |
BeginPass: Setup OpenGL for the given rendering pass.
Must be implemented by derived classes.
Implemented in ShaderRenderModifier.
|
pure virtual |
PrepareModel: Called before rendering the given model.
Default behaviour does nothing.
model | The model that is about to be rendered. |
Implemented in ShaderRenderModifier.