clan::RenderBatcher Class Referenceabstract

Render batching abstraction. More...

#include <render_batcher.h>

Public Member Functions

virtual ~RenderBatcher ()
virtual void flush (GraphicContext &gc)=0
virtual void matrix_changed (const Mat4f &modelview, const Mat4f &projection, TextureImageYAxis image_yaxis, float pixel_ratio)=0

Detailed Description

Render batching abstraction.

Constructor & Destructor Documentation

virtual clan::RenderBatcher::~RenderBatcher ( )

Member Function Documentation

virtual void clan::RenderBatcher::flush ( GraphicContext gc)
pure virtual

Flush render batcher contents.

gcGraphic context to flush contents to.
virtual void clan::RenderBatcher::matrix_changed ( const Mat4f modelview,
const Mat4f projection,
TextureImageYAxis  image_yaxis,
float  pixel_ratio 
pure virtual

Function to call when matrices are changed.

modelviewNew wodel view matrix.
projectionNew projection matrix.
image_yaxisThe image Y axis to use where projection is not used.
pixel_ratioThe display pixel ratio to use when rendering.

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