Oxygine  1
2g game engine
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oxygine::MaskedRenderer Class Reference
Inheritance diagram for oxygine::MaskedRenderer:
oxygine::STDRenderer oxygine::IElementRenderer

Public Member Functions

 MaskedRenderer (spNativeTexture mask, const RectF &srcRect, const RectF &destRect, const Transform &t, bool channelR)
 
- Public Member Functions inherited from oxygine::STDRenderer
 STDRenderer (IVideoDriver *driver=0)
 
const MatrixgetViewProjection () const
 
IVideoDrivergetDriver ()
 
unsigned int getShaderFlags () const
 
void setDriver (IVideoDriver *)
 
OXYGINE_DEPRECATED void setViewProjTransform (const Matrix &view, const Matrix &proj)
 
void setViewProjTransform (const Matrix &viewProj)
 
void setVertexDeclaration (const VertexDeclaration *decl)
 
void setUberShaderProgram (UberShaderProgram *pr)
 
void setBlendMode (blend_mode blend)
 
void setTexture (const spNativeTexture &base, const spNativeTexture &alpha, bool basePremultiplied=true)
 
void setTexture (const spNativeTexture &base, bool basePremultiplied=true)
 
void setTransform (const Transform &tr)
 
void beginElementRendering (bool basePremultiplied)
 
void beginSDFont (float contrast, float offset, const Color &outlineColor, float outlineOffset)
 
void endSDFont ()
 
void drawElement (const spNativeTexture &texture, unsigned int color, const RectF &src, const RectF &dest) OVERRIDE
 
void draw (const Color &, const RectF &srcRect, const RectF &destRect)
 
void drawBatch ()
 
void begin (STDRenderer *prev)
 
void end ()
 
void initCoordinateSystem (int width, int height, bool flipU=false)
 
void resetSettings ()
 
void cleanup ()
 
virtual void addVertices (const void *data, unsigned int size)
 

Protected Member Functions

void preDrawBatch ()
 
- Protected Member Functions inherited from oxygine::STDRenderer
void setShader (ShaderProgram *prog)
 
void _drawBatch ()
 
void _addVertices (const void *data, unsigned int size)
 
void _checkDrawBatch ()
 
virtual void _cleanup ()
 
virtual void _begin ()
 
virtual void _resetSettings ()
 

Protected Attributes

spNativeTexture _mask
 
RectF _clipMask
 
ClipUV _clipUV
 
- Protected Attributes inherited from oxygine::STDRenderer
Transform _transform
 
STDRenderer_previous
 
std::vector< unsigned char > _vertices
 
const VertexDeclaration_vdecl
 
IVideoDriver_driver
 
ShaderProgram_program
 
Matrix _vp
 
spNativeTexture _base
 
spNativeTexture _alpha
 
blend_mode _blend
 
UberShaderProgram_uberShader
 
unsigned int _shaderFlags
 

Additional Inherited Members

- Static Public Member Functions inherited from oxygine::STDRenderer
static void setDefaultSettings ()
 
static void initialize ()
 
static void release ()
 
static void reset ()
 
static bool isReady ()
 
static void restore ()
 
- Static Public Attributes inherited from oxygine::STDRenderer
static STDRendererinstance
 
static spNativeTexture white
 
static spNativeTexture invisible
 
static UberShaderProgram uberShader
 
static std::vector< unsigned char > uberShaderBody
 
static std::vector< unsigned short > indices16
 
static size_t maxVertices
 

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