AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <IzPlatformRender.h>
Public Member Functions | |
bool | isInitialised () const |
virtual int | Init (int max_primitives=1024, int max_materials=100)=0 |
virtual void | Release ()=0 |
virtual void | Begin ()=0 |
virtual void | End ()=0 |
virtual void | DrawPrimitives (CzRenderPrim *prims, CzRenderMaterial *materials, int num_prims, bool single_material)=0 |
virtual void | DrawPrimitives (CzRenderPrim3 *prims, CzRenderMaterial *materials, int num_prims, bool single_material)=0 |
virtual void | DrawText (CzFontPreparedText prepared_text, CzFont *font, CzMatrix3 *transform, const CzColour &colour, CzVec4 &skew, bool filter, eCzAlphaMode alpha_mode)=0 |
virtual void | AddPrimtives (CzRenderPrim *prims, CzRenderMaterial *materials, int num_prims, bool single_material)=0 |
virtual int | AddMaterial (CzRenderMaterial *material)=0 |
virtual void | BatchDrawPrims (bool filter=true)=0 |
virtual void | SetClipRect (int x, int y, int w, int h)=0 |
virtual void | UpdateClipRect (int x, int y, int w, int h)=0 |
virtual CzIRect | GetClipRect () const =0 |
virtual void | ResetClipRect ()=0 |
virtual bool | isFullyClipped (const CzIRect &rc) const =0 |
virtual void | setClipRectModified (bool modified)=0 |
virtual bool | wasClipRectModified () const =0 |
virtual void | SetOrthoProjection (float left, float right, float bottom, float top, float nearz, float farz)=0 |
virtual void | SetPerspectiveMatrix (CzMatrix4 *mat)=0 |
virtual void | SetModelMatrix (CzMatrix4 *mat)=0 |
virtual void | SetViewMatrix (CzMatrix4 *mat)=0 |
Protected Attributes | |
bool | Initialised |
virtual int IzPlatformRender::AddMaterial | ( | CzRenderMaterial * | material | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::AddPrimtives | ( | CzRenderPrim * | prims, |
CzRenderMaterial * | materials, | ||
int | num_prims, | ||
bool | single_material | ||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::BatchDrawPrims | ( | bool | filter = true | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::Begin | ( | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::DrawPrimitives | ( | CzRenderPrim * | prims, |
CzRenderMaterial * | materials, | ||
int | num_prims, | ||
bool | single_material | ||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::DrawPrimitives | ( | CzRenderPrim3 * | prims, |
CzRenderMaterial * | materials, | ||
int | num_prims, | ||
bool | single_material | ||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::DrawText | ( | CzFontPreparedText | prepared_text, |
CzFont * | font, | ||
CzMatrix3 * | transform, | ||
const CzColour & | colour, | ||
CzVec4 & | skew, | ||
bool | filter, | ||
eCzAlphaMode | alpha_mode | ||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::End | ( | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual CzIRect IzPlatformRender::GetClipRect | ( | ) | const [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual int IzPlatformRender::Init | ( | int | max_primitives = 1024 , |
int | max_materials = 100 |
||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual bool IzPlatformRender::isFullyClipped | ( | const CzIRect & | rc | ) | const [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
bool IzPlatformRender::isInitialised | ( | ) | const [inline] |
virtual void IzPlatformRender::Release | ( | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::ResetClipRect | ( | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::SetClipRect | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::setClipRectModified | ( | bool | modified | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::SetModelMatrix | ( | CzMatrix4 * | mat | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::SetOrthoProjection | ( | float | left, |
float | right, | ||
float | bottom, | ||
float | top, | ||
float | nearz, | ||
float | farz | ||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::SetPerspectiveMatrix | ( | CzMatrix4 * | mat | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::SetViewMatrix | ( | CzMatrix4 * | mat | ) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual void IzPlatformRender::UpdateClipRect | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) | [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
virtual bool IzPlatformRender::wasClipRectModified | ( | ) | const [pure virtual] |
Implemented in CzPlatformRender, and CzPlatformRender.
bool IzPlatformRender::Initialised [protected] |