Abstract
Protected
currentProtected
currentProtected
debugProtected
debugProtected
debugProtected
frameProtected
performanceProtected
performanceProtected
renderProtected
statisticsProtected
transformProtected
viewportProtected
Abstract
applyBegin a new frame - call this before any drawing operations 开始新帧 - 在任何绘制操作之前调用
Clear all performance measurements 清除所有性能测量
Log debug message with optional color 记录带可选颜色的调试消息
Optional
color: ColorAbstract
disposeDispose of renderer resources 释放渲染器资源
Draw an arrow from start to end point 从起点到终点绘制箭头
Optional
headSize: FixedDraw coordinate axes at origin 在原点绘制坐标轴
Draw a circle at the specified center with given radius 在指定中心绘制给定半径的圆
Draw a cross-hair at the specified position 在指定位置绘制十字线
Draw debug text at world position 在世界位置绘制调试文本
Optional
color: ColorDraw debug text at screen position 在屏幕位置绘制调试文本
Optional
color: ColorDraw 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 结束当前帧并呈现到屏幕
End measuring performance for a named operation 结束测量命名操作的性能
Get the current combined transform 获取当前组合变换
Get debug configuration 获取调试配置
Get the current debug mode 获取当前调试模式
Get performance measurements 获取性能测量结果
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
onProtected
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
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
screenEnable/disable debug logging 启用/禁用调试日志
Abstract
setSet the render target (null for screen) 设置渲染目标(null表示屏幕)
Set the view matrix for camera transformation 设置用于相机变换的视图矩阵
Start measuring performance for a named operation 开始测量命名操作的性能
Check if the renderer supports a specific feature 检查渲染器是否支持特定功能
Take a screenshot of the current frame 截取当前帧的屏幕截图
Protected
transform
Abstract base debug renderer class 抽象基础调试渲染器类