Abstract
Protected
currentProtected
currentProtected
frameProtected
renderProtected
statisticsProtected
transformProtected
viewportProtected
Abstract
applyBegin a new frame - call this before any drawing operations 开始新帧 - 在任何绘制操作之前调用
Abstract
disposeDispose of renderer resources 释放渲染器资源
Draw a circle at the specified center with given radius 在指定中心绘制给定半径的圆
Draw an ellipse within the specified bounds 在指定边界内绘制椭圆
Draw a line between two points 在两点之间绘制线条
Draw a polygon defined by vertices 绘制由顶点定义的多边形
Draw a rectangle with the specified bounds 绘制指定边界的矩形
Draw text at the specified position 在指定位置绘制文本
Draw a texture at the specified position 在指定位置绘制纹理
Optional
style: TextureStyleDraw a portion of a texture (sprite from atlas) 绘制纹理的一部分(从图集中的精灵)
Optional
style: TextureStyleEnd the current frame and present to screen 结束当前帧并呈现到屏幕
Get the current combined transform 获取当前组合变换
Get renderer information 获取渲染器信息
Get the current render state 获取当前渲染状态
Abstract
getGet the current render target 获取当前渲染目标
Get rendering statistics for the current frame 获取当前帧的渲染统计信息
Protected
getGet the current viewport 获取当前视口
Protected
incrementProtected
incrementMeasure text dimensions without drawing 测量文本尺寸而不绘制
Protected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onOptional
style: TextureStyleProtected
Abstract
onOptional
style: TextureStyleProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onProtected
Abstract
onPop render state from stack 从栈弹出渲染状态
Pop the last transform from the transform stack 从变换栈弹出最后一个变换
Push current render state onto stack 将当前渲染状态推入栈
Reset statistics counters 重置统计计数器
Protected
screenAbstract
setSet the render target (null for screen) 设置渲染目标(null表示屏幕)
Set the view matrix for camera transformation 设置用于相机变换的视图矩阵
Check if the renderer supports a specific feature 检查渲染器是否支持特定功能
Protected
transform
Abstract base renderer class implementing common functionality 实现通用功能的抽象基础渲染器类