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

Public 成员函数

override bool IsEmpty ()
override void Clear ()
virtual void Flush (Matrix matrix, bool clearAfterFlush=true)
override void Flush (Matrix matrix, Vector4 color, bool clearAfterFlush=true)
void FlushWithDeviceState (bool useAlphaTest, Texture2D texture, SamplerState samplerState, Matrix matrix, Vector4 color, bool clearAfterFlush=true)
void FlushWithDeviceState (Shader shader, bool clearAfterFlush=true)
void TransformTriangles (Matrix matrix, int start=0, int end=-1)
void TransformTrianglesColors (Color color, int start=0, int end=-1)
Public 成员函数 继承自 Engine.Graphics.BaseBatch
bool IsEmpty ()
void Clear ()
void Flush (Matrix matrix, Vector4 color, bool clearAfterFlush=true)

Public 属性

readonly DynamicArray< VertexPositionColorTextureTriangleVertices = []
readonly DynamicArray< int > TriangleIndices = []

静态 Public 属性

static UnlitShader m_shader = new(true, true, false, false)
static UnlitShader m_shaderAlphaTest = new(true, true, false, true)

属性

Texture2D Texture [get, set]
bool UseAlphaTest [get, set]
SamplerState SamplerState [get, set]
属性 继承自 Engine.Graphics.BaseBatch
int Layer [get, set]
DepthStencilState DepthStencilState [get, set]
RasterizerState RasterizerState [get, set]
BlendState BlendState [get, set]

详细描述

在文件 BaseTexturedBatch.cs2 行定义.

成员函数说明

◆ Clear()

override void Engine.Graphics.BaseTexturedBatch.Clear ( )

在文件 BaseTexturedBatch.cs19 行定义.

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

◆ Flush() [1/2]

virtual void Engine.Graphics.BaseTexturedBatch.Flush ( Matrix matrix,
bool clearAfterFlush = true )
virtual

在文件 BaseTexturedBatch.cs24 行定义.

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

◆ Flush() [2/2]

override void Engine.Graphics.BaseTexturedBatch.Flush ( Matrix matrix,
Vector4 color,
bool clearAfterFlush = true )

在文件 BaseTexturedBatch.cs28 行定义.

函数调用图:

◆ FlushWithDeviceState() [1/2]

void Engine.Graphics.BaseTexturedBatch.FlushWithDeviceState ( bool useAlphaTest,
Texture2D texture,
SamplerState samplerState,
Matrix matrix,
Vector4 color,
bool clearAfterFlush = true )

在文件 BaseTexturedBatch.cs35 行定义.

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

◆ FlushWithDeviceState() [2/2]

void Engine.Graphics.BaseTexturedBatch.FlushWithDeviceState ( Shader shader,
bool clearAfterFlush = true )

在文件 BaseTexturedBatch.cs58 行定义.

函数调用图:

◆ IsEmpty()

override bool Engine.Graphics.BaseTexturedBatch.IsEmpty ( )

在文件 BaseTexturedBatch.cs17 行定义.

◆ TransformTriangles()

void Engine.Graphics.BaseTexturedBatch.TransformTriangles ( Matrix matrix,
int start = 0,
int end = -1 )

在文件 BaseTexturedBatch.cs82 行定义.

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

◆ TransformTrianglesColors()

void Engine.Graphics.BaseTexturedBatch.TransformTrianglesColors ( Color color,
int start = 0,
int end = -1 )

在文件 BaseTexturedBatch.cs92 行定义.

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

类成员变量说明

◆ m_shader

UnlitShader Engine.Graphics.BaseTexturedBatch.m_shader = new(true, true, false, false)
static

在文件 BaseTexturedBatch.cs3 行定义.

◆ m_shaderAlphaTest

UnlitShader Engine.Graphics.BaseTexturedBatch.m_shaderAlphaTest = new(true, true, false, true)
static

在文件 BaseTexturedBatch.cs5 行定义.

◆ TriangleIndices

readonly DynamicArray<int> Engine.Graphics.BaseTexturedBatch.TriangleIndices = []

在文件 BaseTexturedBatch.cs9 行定义.

◆ TriangleVertices

readonly DynamicArray<VertexPositionColorTexture> Engine.Graphics.BaseTexturedBatch.TriangleVertices = []

在文件 BaseTexturedBatch.cs7 行定义.

属性说明

◆ SamplerState

SamplerState Engine.Graphics.BaseTexturedBatch.SamplerState
getset

在文件 BaseTexturedBatch.cs15 行定义.

◆ Texture

Texture2D Engine.Graphics.BaseTexturedBatch.Texture
getset

在文件 BaseTexturedBatch.cs11 行定义.

◆ UseAlphaTest

bool Engine.Graphics.BaseTexturedBatch.UseAlphaTest
getset

在文件 BaseTexturedBatch.cs13 行定义.


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