clan::RenderBatcher Class Reference - ClanLib SDK
Description: clan::RenderBatcher Class Reference

Public Member Functions | List of all members
clan::RenderBatcher Class Referenceabstract
clanDisplay Display

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

## ◆ ~RenderBatcher()

virtual clan::RenderBatcher::~RenderBatcher | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ flush()

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

Flush render batcher contents.

Parameters

  gc | Graphic context to flush contents to.

## ◆ matrix_changed()

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.

Parameters

  modelview | New wodel view matrix.
  projection | New projection matrix.
  image_yaxis | The image Y axis to use where projection is not used.
  pixel_ratio | The display pixel ratio to use when rendering.

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

- render_batcher.h