.. index:: pair: class; EE::Graphics::GlobalBatchRenderer .. _doxid-class_e_e_1_1_graphics_1_1_global_batch_renderer: class EE::Graphics::GlobalBatchRenderer ======================================= .. toctree:: :hidden: The global Batch :ref:`Renderer ` class. This class will be used by the engine for the rendering. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class GlobalBatchRenderer: public :ref:`EE::Graphics::BatchRenderer` { public: // construction :target:`~GlobalBatchRenderer`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods static :ref:`BatchRenderer`* :ref:`New`(); static :ref:`BatchRenderer`* :ref:`New`(const unsigned int& Prealloc); void :ref:`allocVertexs`(const unsigned int& size); void :ref:`setTexture`(const :ref:`Texture`* texture, :ref:`Texture::CoordinateType` coordinateType = :ref:`Texture::CoordinateType::Normalized`); void :ref:`setBlendMode`(const :ref:`BlendMode`& blend); void :ref:`setBatchForceRendering`(const bool& force); bool :ref:`getBatchForceRendering`() const; void :ref:`draw`(); void :ref:`drawOpt`(); void :ref:`setBatchRotation`(const :ref:`Float`& Rotation); :ref:`Float` :ref:`getBatchRotation`() const; void :ref:`setBatchScale`(const :ref:`Vector2f`& Scale); void :ref:`setBatchScale`(const :ref:`Float`& Scale); :ref:`Vector2f` :ref:`getBatchScale`() const; void :ref:`setBatchPosition`(const :ref:`Vector2f` Pos); :ref:`Vector2f` :ref:`getBatchPosition`() const; void :ref:`setBatchCenter`(const :ref:`Vector2f` Pos); :ref:`Vector2f` :ref:`getBatchCenter`() const; void :ref:`batchQuadEx`( :ref:`Float` x, :ref:`Float` y, :ref:`Float` width, :ref:`Float` height, :ref:`Float` angle = 0.0f, :ref:`Vector2f` scale = Vector2f::One, :ref:`OriginPoint` originPoint = :ref:`OriginPoint`(OriginPoint::OriginCenter) ); void :ref:`batchQuad`(const :ref:`Float`& x, const :ref:`Float`& y, const :ref:`Float`& width, const :ref:`Float`& height); void :ref:`batchQuad`(const :ref:`Rectf`& rect); void :ref:`batchQuadFree`( const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1, const :ref:`Float`& x2, const :ref:`Float`& y2, const :ref:`Float`& x3, const :ref:`Float`& y3 ); void :ref:`batchQuadFreeEx`( const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1, const :ref:`Float`& x2, const :ref:`Float`& y2, const :ref:`Float`& x3, const :ref:`Float`& y3, const :ref:`Float`& Angle = 0.0f, const :ref:`Float`& Scale = 1.0f ); void :ref:`quadsBegin`(); void :ref:`quadsSetTexCoord`(const :ref:`Float`& tl_u, const :ref:`Float`& tl_v, const :ref:`Float`& br_u, const :ref:`Float`& br_v); void :ref:`quadsSetTexCoord`(const :ref:`Rectf`& region); void :ref:`quadsSetTexCoordFree`( const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1, const :ref:`Float`& x2, const :ref:`Float`& y2, const :ref:`Float`& x3, const :ref:`Float`& y3 ); void :ref:`quadsSetColor`(const :ref:`Color`& Color); void :ref:`quadsSetColorFree`(const :ref:`Color`& Color0, const :ref:`Color`& Color1, const :ref:`Color`& Color2, const :ref:`Color`& Color3); void :ref:`pointsBegin`(); void :ref:`pointSetColor`(const :ref:`Color`& Color); void :ref:`pointSetTexCoord`(const :ref:`Float`& x, const :ref:`Float`& y); void :ref:`batchPoint`(const :ref:`Float`& x, const :ref:`Float`& y, const :ref:`PrimitiveType`& primitiveType = :ref:`PRIMITIVE_POINTS`); void :ref:`batchPointList`(const std::vector<:ref:`VertexData`>& points, const :ref:`PrimitiveType`& primitiveType = :ref:`PRIMITIVE_POINTS`); void :ref:`linesBegin`(); void :ref:`linesSetColor`(const :ref:`Color`& Color); void :ref:`linesSetColorFree`(const :ref:`Color`& Color0, const :ref:`Color`& Color1); void :ref:`batchLine`(const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1); void :ref:`lineLoopBegin`(); void :ref:`lineLoopSetColor`(const :ref:`Color`& Color); void :ref:`lineLoopSetColorFree`(const :ref:`Color`& Color0, const :ref:`Color`& Color1); void :ref:`batchLineLoop`(const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1); void :ref:`batchLineLoop`(const :ref:`Float`& x0, const :ref:`Float`& y0); void :ref:`batchLineLoop`(const :ref:`Vector2f`& vector1, const :ref:`Vector2f`& vector2); void :ref:`batchLineLoop`(const :ref:`Vector2f`& vector1); void :ref:`lineStripBegin`(); void :ref:`lineStripSetColor`(const :ref:`Color`& Color); void :ref:`lineStripSetColorFree`(const :ref:`Color`& Color0, const :ref:`Color`& Color1); void :ref:`batchLineStrip`(const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1); void :ref:`batchLineStrip`(const :ref:`Float`& x0, const :ref:`Float`& y0); void :ref:`batchLineStrip`(const :ref:`Vector2f`& vector1, const :ref:`Vector2f`& vector2); void :ref:`batchLineStrip`(const :ref:`Vector2f`& vector1); void :ref:`triangleFanBegin`(); void :ref:`triangleFanSetColor`(const :ref:`Color`& Color); void :ref:`triangleFanSetColorFree`(const :ref:`Color`& Color0, const :ref:`Color`& Color1, const :ref:`Color`& Color2); void :ref:`triangleFanSetTexCoord`(const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1, const :ref:`Float`& x2, const :ref:`Float`& y2); void :ref:`batchTriangleFan`(const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1, const :ref:`Float`& x2, const :ref:`Float`& y2); void :ref:`batchTriangleFan`(const :ref:`Float`& x0, const :ref:`Float`& y0); void :ref:`trianglesBegin`(); void :ref:`trianglesSetColor`(const :ref:`Color`& Color); void :ref:`trianglesSetColorFree`(const :ref:`Color`& Color0, const :ref:`Color`& Color1, const :ref:`Color`& Color2); void :ref:`trianglesSetTexCoord`(const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1, const :ref:`Float`& x2, const :ref:`Float`& y2); void :ref:`batchTriangle`(const :ref:`Float`& x0, const :ref:`Float`& y0, const :ref:`Float`& x1, const :ref:`Float`& y1, const :ref:`Float`& x2, const :ref:`Float`& y2); void :ref:`polygonSetColor`(const :ref:`Color`& Color); void :ref:`batchPolygon`(const :ref:`Polygon2f`& Polygon); void :ref:`setLineWidth`(const :ref:`Float`& lineWidth); :ref:`Float` :ref:`getLineWidth`(); void :ref:`setPointSize`(const :ref:`Float`& pointSize); :ref:`Float` :ref:`getPointSize`(); void :ref:`batchPolygonByPoint`(const :ref:`Float`& x, const :ref:`Float`& y); void :ref:`batchPolygonByPoint`(const :ref:`Vector2f`& Vector); void :ref:`setForceBlendModeChange`(const bool& Force); const bool& :ref:`getForceBlendModeChange`() const;