DGLE2   Young, strong and crazy!
Public Member Functions | List of all members
IRender2D Class Referenceabstract

#include <DGLE.h>

Inheritance diagram for IRender2D:
IDGLE_Base

Public Member Functions

virtual DGLE_RESULT DGLE_API Begin2D ()=0
 
virtual DGLE_RESULT DGLE_API End2D ()=0
 
virtual DGLE_RESULT DGLE_API BatchRender (E_BATCH_MODE2D eMode)=0
 
virtual DGLE_RESULT DGLE_API InvalidateBatchData ()=0
 
virtual DGLE_RESULT DGLE_API BeginBatch (bool bUpdateEveryFrame=false)=0
 
virtual DGLE_RESULT DGLE_API EndBatch ()=0
 
virtual DGLE_RESULT DGLE_API NeedToUpdateBatchData (bool &bNeedUpdate)=0
 
virtual DGLE_RESULT DGLE_API SetResolutionCorrection (uint uiResX, uint uiResY, bool bConstantProportions=true)=0
 
virtual DGLE_RESULT DGLE_API ResolutionCorrectToAbsolute (const TPoint2 &stLogicCoord, TPoint2 &stAbsoluteCoord)=0
 
virtual DGLE_RESULT DGLE_API AbsoluteToResolutionCorrect (const TPoint2 &stAbsoluteCoord, TPoint2 &stLogicCoord)=0
 
virtual DGLE_RESULT DGLE_API SetCamera (const TPoint2 &stCenter, float fAngle=0.f, const TVector2 &stScale=TVector2(1.f, 1.f))=0
 
virtual DGLE_RESULT DGLE_API ResetCamera ()=0
 
virtual DGLE_RESULT DGLE_API UnprojectCameraToScreen (const TPoint2 &stCameraCoord, TPoint2 &stScreenCoord)=0
 
virtual DGLE_RESULT DGLE_API ProjectScreenToCamera (const TPoint2 &stScreenCoord, TPoint2 &stCameraCoord)=0
 
virtual DGLE_RESULT DGLE_API CullBoundingBox (const TRectF &stBBox, float fAngle, bool &bCull)=0
 
virtual DGLE_RESULT DGLE_API SetLineWidth (uint uiWidth)=0
 
virtual DGLE_RESULT DGLE_API DrawPoint (const TPoint2 &stCoords, const TColor4 &stColor=ColorWhite(), uint uiSize=1)=0
 
virtual DGLE_RESULT DGLE_API DrawLine (const TPoint2 &stCoords1, const TPoint2 &stCoords2, const TColor4 &stColor=ColorWhite(), E_PRIMITIVE2D_FLAGS eFlags=PF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawRectangle (const TRectF &stRect, const TColor4 &stColor=ColorWhite(), E_PRIMITIVE2D_FLAGS eFlags=PF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawCircle (const TPoint2 &stCoords, uint uiRadius, uint uiQuality, const TColor4 &stColor=ColorWhite(), E_PRIMITIVE2D_FLAGS eFlags=PF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawEllipse (const TPoint2 &stCoords, const TVector2 &stRadius, uint uiQuality, const TColor4 &stColor=ColorWhite(), E_PRIMITIVE2D_FLAGS eFlags=PF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawPolygon (ITexture *pTexture, const TVertex2 *pstVertices, uint uiVerticesCount, E_PRIMITIVE2D_FLAGS eFlags=PF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawTexture (ITexture *pTexture, const TPoint2 &stCoords, const TVector2 &stDimensions, float fAngle=0.f, E_EFFECT2D_FLAGS eFlags=EF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawTextureCropped (ITexture *pTexture, const TPoint2 &stCoords, const TVector2 &stDimensions, const TRectF &stTexCropRect, float fAngle=0.f, E_EFFECT2D_FLAGS eFlags=EF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawTextureSprite (ITexture *pTexture, const TPoint2 &stCoords, const TVector2 &stDimensions, uint uiFrameIndex, float fAngle=0.f, E_EFFECT2D_FLAGS eFlags=EF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawTriangles (ITexture *pTexture, const TVertex2 *pstVertices, uint uiVerticesCount, E_PRIMITIVE2D_FLAGS eFlags=PF_DEFAULT)=0
 
virtual DGLE_RESULT DGLE_API DrawMesh (IMesh *pMesh, ITexture *pTexture, const TPoint2 &stCoords, const TVector3 &stDimensions, const TVector3 &stAxis=TVector3(), float fAngle=0.f, E_EFFECT2D_FLAGS eFlags=EF_DEFAULT, bool bClip=true, float fFovY=90.f, bool bClearDepthBuffer=false)=0
 
virtual DGLE_RESULT DGLE_API Draw (ITexture *pTexture, const TDrawDataDesc &stDrawDesc, E_CORE_RENDERER_DRAW_MODE eMode, uint uiCount, const TRectF &stAABB, E_EFFECT2D_FLAGS eFlags)=0
 
virtual DGLE_RESULT DGLE_API DrawBuffer (ITexture *pTexture, ICoreGeometryBuffer *pBuffer, const TRectF &stAABB, E_EFFECT2D_FLAGS eFlags)=0
 
virtual DGLE_RESULT DGLE_API DrawBuffer3D (ITexture *pTexture, ICoreGeometryBuffer *pBuffer, E_EFFECT2D_FLAGS eFlags, const TMatrix4x4 &stTransform, const TPoint3 &stCenter, const TVector3 &stExtents, bool bClip, float fFovY, bool bClearDepthBuffer)=0
 
virtual DGLE_RESULT DGLE_API SetRotationPoint (const TPoint2 &stCoords)=0
 
virtual DGLE_RESULT DGLE_API SetScale (const TPoint2 &stScale)=0
 
virtual DGLE_RESULT DGLE_API SetColorMix (const TColor4 &stColor=ColorWhite())=0
 
virtual DGLE_RESULT DGLE_API SetBlendMode (E_BLENDING_EFFECT eMode=BE_NORMAL)=0
 
virtual DGLE_RESULT DGLE_API SetVerticesOffsets (const TPoint2 &stCoords1, const TPoint2 &stCoords2, const TPoint2 &stCoords3, const TPoint2 &stCoords4)=0
 
virtual DGLE_RESULT DGLE_API SetVerticesColors (const TColor4 &stColor1, const TColor4 &stColor2, const TColor4 &stColor3, const TColor4 &stColor4)=0
 
virtual DGLE_RESULT DGLE_API GetRotationPoint (TPoint2 &stCoords)=0
 
virtual DGLE_RESULT DGLE_API GetScale (TPoint2 &stScale)=0
 
virtual DGLE_RESULT DGLE_API GetColorMix (TColor4 &stColor)=0
 
virtual DGLE_RESULT DGLE_API GetBlendMode (E_BLENDING_EFFECT &eMode)=0
 
virtual DGLE_RESULT DGLE_API GetVerticesOffsets (TPoint2 &stCoords1, TPoint2 &stCoords2, TPoint2 &stCoords3, TPoint2 &stCoords4)=0
 
virtual DGLE_RESULT DGLE_API GetVerticesColors (TColor4 &stColor1, TColor4 &stColor2, TColor4 &stColor3, TColor4 &stColor4)=0
 
- Public Member Functions inherited from IDGLE_Base
virtual DGLE_RESULT DGLE_API GetGUID (GUID &guid)=0
 Returns unique identifier of the last interface in the inheritance chain.
 
virtual DGLE_RESULT DGLE_API ExecuteCommand (uint uiCmd, TVariant &stVar)=0
 Executes some command using its index or bitmask.
 
virtual DGLE_RESULT DGLE_API ExecuteTextCommand (const char *pcCommand, TVariant &stVar)=0
 Executes some text command and returns result as variant.
 
virtual DGLE_RESULT DGLE_API ExecuteTextCommandEx (const char *pcCommand, char *pcResult, uint &uiCharsCount)=0
 Executes some text command and returns result as string.
 

Member Function Documentation

virtual DGLE_RESULT DGLE_API AbsoluteToResolutionCorrect ( const TPoint2 stAbsoluteCoord,
TPoint2 stLogicCoord 
)
pure virtual
virtual DGLE_RESULT DGLE_API BatchRender ( E_BATCH_MODE2D  eMode)
pure virtual
virtual DGLE_RESULT DGLE_API Begin2D ( )
pure virtual
virtual DGLE_RESULT DGLE_API BeginBatch ( bool  bUpdateEveryFrame = false)
pure virtual
virtual DGLE_RESULT DGLE_API CullBoundingBox ( const TRectF stBBox,
float  fAngle,
bool &  bCull 
)
pure virtual
virtual DGLE_RESULT DGLE_API Draw ( ITexture pTexture,
const TDrawDataDesc stDrawDesc,
E_CORE_RENDERER_DRAW_MODE  eMode,
uint  uiCount,
const TRectF stAABB,
E_EFFECT2D_FLAGS  eFlags 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawBuffer ( ITexture pTexture,
ICoreGeometryBuffer pBuffer,
const TRectF stAABB,
E_EFFECT2D_FLAGS  eFlags 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawBuffer3D ( ITexture pTexture,
ICoreGeometryBuffer pBuffer,
E_EFFECT2D_FLAGS  eFlags,
const TMatrix4x4 stTransform,
const TPoint3 stCenter,
const TVector3 stExtents,
bool  bClip,
float  fFovY,
bool  bClearDepthBuffer 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawCircle ( const TPoint2 stCoords,
uint  uiRadius,
uint  uiQuality,
const TColor4 stColor = ColorWhite(),
E_PRIMITIVE2D_FLAGS  eFlags = PF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawEllipse ( const TPoint2 stCoords,
const TVector2 stRadius,
uint  uiQuality,
const TColor4 stColor = ColorWhite(),
E_PRIMITIVE2D_FLAGS  eFlags = PF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawLine ( const TPoint2 stCoords1,
const TPoint2 stCoords2,
const TColor4 stColor = ColorWhite(),
E_PRIMITIVE2D_FLAGS  eFlags = PF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawMesh ( IMesh pMesh,
ITexture pTexture,
const TPoint2 stCoords,
const TVector3 stDimensions,
const TVector3 stAxis = TVector3(),
float  fAngle = 0.f,
E_EFFECT2D_FLAGS  eFlags = EF_DEFAULT,
bool  bClip = true,
float  fFovY = 90.f,
bool  bClearDepthBuffer = false 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawPoint ( const TPoint2 stCoords,
const TColor4 stColor = ColorWhite(),
uint  uiSize = 1 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawPolygon ( ITexture pTexture,
const TVertex2 pstVertices,
uint  uiVerticesCount,
E_PRIMITIVE2D_FLAGS  eFlags = PF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawRectangle ( const TRectF stRect,
const TColor4 stColor = ColorWhite(),
E_PRIMITIVE2D_FLAGS  eFlags = PF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawTexture ( ITexture pTexture,
const TPoint2 stCoords,
const TVector2 stDimensions,
float  fAngle = 0.f,
E_EFFECT2D_FLAGS  eFlags = EF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawTextureCropped ( ITexture pTexture,
const TPoint2 stCoords,
const TVector2 stDimensions,
const TRectF stTexCropRect,
float  fAngle = 0.f,
E_EFFECT2D_FLAGS  eFlags = EF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawTextureSprite ( ITexture pTexture,
const TPoint2 stCoords,
const TVector2 stDimensions,
uint  uiFrameIndex,
float  fAngle = 0.f,
E_EFFECT2D_FLAGS  eFlags = EF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API DrawTriangles ( ITexture pTexture,
const TVertex2 pstVertices,
uint  uiVerticesCount,
E_PRIMITIVE2D_FLAGS  eFlags = PF_DEFAULT 
)
pure virtual
virtual DGLE_RESULT DGLE_API End2D ( )
pure virtual
virtual DGLE_RESULT DGLE_API EndBatch ( )
pure virtual
virtual DGLE_RESULT DGLE_API GetBlendMode ( E_BLENDING_EFFECT eMode)
pure virtual
virtual DGLE_RESULT DGLE_API GetColorMix ( TColor4 stColor)
pure virtual
virtual DGLE_RESULT DGLE_API GetRotationPoint ( TPoint2 stCoords)
pure virtual
virtual DGLE_RESULT DGLE_API GetScale ( TPoint2 stScale)
pure virtual
virtual DGLE_RESULT DGLE_API GetVerticesColors ( TColor4 stColor1,
TColor4 stColor2,
TColor4 stColor3,
TColor4 stColor4 
)
pure virtual
virtual DGLE_RESULT DGLE_API GetVerticesOffsets ( TPoint2 stCoords1,
TPoint2 stCoords2,
TPoint2 stCoords3,
TPoint2 stCoords4 
)
pure virtual
virtual DGLE_RESULT DGLE_API InvalidateBatchData ( )
pure virtual
virtual DGLE_RESULT DGLE_API NeedToUpdateBatchData ( bool &  bNeedUpdate)
pure virtual
virtual DGLE_RESULT DGLE_API ProjectScreenToCamera ( const TPoint2 stScreenCoord,
TPoint2 stCameraCoord 
)
pure virtual
virtual DGLE_RESULT DGLE_API ResetCamera ( )
pure virtual
virtual DGLE_RESULT DGLE_API ResolutionCorrectToAbsolute ( const TPoint2 stLogicCoord,
TPoint2 stAbsoluteCoord 
)
pure virtual
virtual DGLE_RESULT DGLE_API SetBlendMode ( E_BLENDING_EFFECT  eMode = BE_NORMAL)
pure virtual
virtual DGLE_RESULT DGLE_API SetCamera ( const TPoint2 stCenter,
float  fAngle = 0.f,
const TVector2 stScale = TVector2(1.f, 1.f) 
)
pure virtual
virtual DGLE_RESULT DGLE_API SetColorMix ( const TColor4 stColor = ColorWhite())
pure virtual
virtual DGLE_RESULT DGLE_API SetLineWidth ( uint  uiWidth)
pure virtual
virtual DGLE_RESULT DGLE_API SetResolutionCorrection ( uint  uiResX,
uint  uiResY,
bool  bConstantProportions = true 
)
pure virtual
virtual DGLE_RESULT DGLE_API SetRotationPoint ( const TPoint2 stCoords)
pure virtual
virtual DGLE_RESULT DGLE_API SetScale ( const TPoint2 stScale)
pure virtual
virtual DGLE_RESULT DGLE_API SetVerticesColors ( const TColor4 stColor1,
const TColor4 stColor2,
const TColor4 stColor3,
const TColor4 stColor4 
)
pure virtual
virtual DGLE_RESULT DGLE_API SetVerticesOffsets ( const TPoint2 stCoords1,
const TPoint2 stCoords2,
const TPoint2 stCoords3,
const TPoint2 stCoords4 
)
pure virtual
virtual DGLE_RESULT DGLE_API UnprojectCameraToScreen ( const TPoint2 stCameraCoord,
TPoint2 stScreenCoord 
)
pure virtual

Sun Nov 16 2014 09:47:29   Generated by   doxygen   Content copyrighted to DGLE Team