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

Public 成员函数

FlatBatch3D FlatBatch (int layer=0, DepthStencilState depthStencilState=null, RasterizerState rasterizerState=null, BlendState blendState=null)
TexturedBatch3D TexturedBatch (Texture2D texture, bool useAlphaTest=false, int layer=0, DepthStencilState depthStencilState=null, RasterizerState rasterizerState=null, BlendState blendState=null, SamplerState samplerState=null)
FontBatch3D FontBatch (BitmapFont font, int layer=0, DepthStencilState depthStencilState=null, RasterizerState rasterizerState=null, BlendState blendState=null, SamplerState samplerState=null)
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 属性 继承自 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]

详细描述

在文件 PrimitivesRenderer3D.cs4 行定义.

成员函数说明

◆ FlatBatch()

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

在文件 PrimitivesRenderer3D.cs5 行定义.

函数调用图:

◆ FontBatch()

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

在文件 PrimitivesRenderer3D.cs37 行定义.

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

◆ TexturedBatch()

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

在文件 PrimitivesRenderer3D.cs15 行定义.

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

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