Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
RenderModifier Class Referenceabstract

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>

Inheritance diagram for RenderModifier:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RenderModifier()

RenderModifier::RenderModifier ( )
inline

◆ ~RenderModifier()

virtual RenderModifier::~RenderModifier ( )
inlinevirtual

Member Function Documentation

◆ BeginPass()

virtual void RenderModifier::BeginPass ( Renderer::Backend::IDeviceCommandContext deviceCommandContext,
Renderer::Backend::IShaderProgram shader 
)
pure virtual

BeginPass: Setup OpenGL for the given rendering pass.

Must be implemented by derived classes.

Implemented in ShaderRenderModifier.

◆ PrepareModel()

virtual void RenderModifier::PrepareModel ( Renderer::Backend::IDeviceCommandContext deviceCommandContext,
CModel model 
)
pure virtual

PrepareModel: Called before rendering the given model.

Default behaviour does nothing.

Parameters
modelThe model that is about to be rendered.

Implemented in ShaderRenderModifier.


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