Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Graphics.PrimitivesRenderer2D
类 Engine.Graphics.PrimitivesRenderer2D 继承关系图:
Engine.Graphics.PrimitivesRenderer2D 的协作图:

Public 成员函数

FlatBatch2D FlatBatch (int layer=0, DepthStencilState depthStencilState=null, RasterizerState rasterizerState=null, BlendState blendState=null)
TexturedBatch2D TexturedBatch (Texture2D texture, bool useAlphaTest=false, int layer=0, DepthStencilState depthStencilState=null, RasterizerState rasterizerState=null, BlendState blendState=null, SamplerState samplerState=null)
FontBatch2D FontBatch (BitmapFont font=null, int layer=0, DepthStencilState depthStencilState=null, RasterizerState rasterizerState=null, BlendState blendState=null, SamplerState samplerState=null)
void Flush (bool clearAfterFlush=true, int maxLayer=int.MaxValue)
Public 成员函数 继承自 Engine.Graphics.BasePrimitivesRenderer< T1, T2, T3 >
T1 FindFlatBatch (int layer, DepthStencilState depthStencilState, RasterizerState rasterizerState, BlendState blendState)
T2 FindTexturedBatch (Texture2D texture, bool useAlphaTest, int layer, DepthStencilState depthStencilState, RasterizerState rasterizerState, BlendState blendState, SamplerState samplerState)
T3 FindFontBatch (BitmapFont font, int layer, DepthStencilState depthStencilState, RasterizerState rasterizerState, BlendState blendState, SamplerState samplerState)
void Flush (Matrix matrix, bool clearAfterFlush=true, int maxLayer=int.MaxValue)
void Flush (Matrix matrix, Vector4 color, bool clearAfterFlush=true, int maxLayer=int.MaxValue)
void Clear ()

静态 Public 成员函数

static Matrix ViewportMatrix ()

额外继承的成员函数

Public 属性 继承自 Engine.Graphics.BasePrimitivesRenderer< T1, T2, T3 >
bool m_sortNeeded
List< BaseBatchm_allBatches = []
LinkedList< T1 > m_flatBatches = new()
LinkedList< T2 > m_texturedBatches = new()
LinkedList< T3 > m_fontBatches = new()
属性 继承自 Engine.Graphics.BasePrimitivesRenderer< T1, T2, T3 >
IEnumerable< T1 > FlatBatches [get]
IEnumerable< T2 > TexturedBatches [get]
IEnumerable< T3 > FontBatches [get]

详细描述

在文件 PrimitivesRenderer2D.cs4 行定义.

成员函数说明

◆ FlatBatch()

FlatBatch2D Engine.Graphics.PrimitivesRenderer2D.FlatBatch ( int layer = 0,
DepthStencilState depthStencilState = null,
RasterizerState rasterizerState = null,
BlendState blendState = null )

在文件 PrimitivesRenderer2D.cs29 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Flush()

void Engine.Graphics.PrimitivesRenderer2D.Flush ( bool clearAfterFlush = true,
int maxLayer = int::MaxValue )

在文件 PrimitivesRenderer2D.cs75 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ FontBatch()

FontBatch2D Engine.Graphics.PrimitivesRenderer2D.FontBatch ( BitmapFont font = null,
int layer = 0,
DepthStencilState depthStencilState = null,
RasterizerState rasterizerState = null,
BlendState blendState = null,
SamplerState samplerState = null )

在文件 PrimitivesRenderer2D.cs61 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ TexturedBatch()

TexturedBatch2D Engine.Graphics.PrimitivesRenderer2D.TexturedBatch ( Texture2D texture,
bool useAlphaTest = false,
int layer = 0,
DepthStencilState depthStencilState = null,
RasterizerState rasterizerState = null,
BlendState blendState = null,
SamplerState samplerState = null )

在文件 PrimitivesRenderer2D.cs39 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ ViewportMatrix()

Matrix Engine.Graphics.PrimitivesRenderer2D.ViewportMatrix ( )
static

在文件 PrimitivesRenderer2D.cs5 行定义.

这是这个函数的调用关系图:

该类的文档由以下文件生成: