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

静态 Public 属性

static readonly DepthStencilState Default = new() { IsLocked = true }
static readonly DepthStencilState DepthRead = new() { DepthBufferWriteEnable = false, IsLocked = true }
static readonly DepthStencilState DepthWrite = new() { DepthBufferTestEnable = false, IsLocked = true }
static readonly DepthStencilState None = new() { DepthBufferTestEnable = false, DepthBufferWriteEnable = false, IsLocked = true }

属性

bool DepthBufferTestEnable [get, set]
bool DepthBufferWriteEnable [get, set]
CompareFunction DepthBufferFunction [get, set]

Private 属性

bool m_depthBufferTestEnable = true
bool m_depthBufferWriteEnable = true
CompareFunction m_depthBufferFunction = CompareFunction.LessEqual

额外继承的成员函数

Protected 成员函数 继承自 Engine.Graphics.LockOnFirstUse
void ThrowIfLocked ()
包属性 继承自 Engine.Graphics.LockOnFirstUse
bool IsLocked

详细描述

在文件 DepthStencilState.cs2 行定义.

类成员变量说明

◆ Default

readonly DepthStencilState Engine.Graphics.DepthStencilState.Default = new() { IsLocked = true }
static

在文件 DepthStencilState.cs9 行定义.

◆ DepthRead

readonly DepthStencilState Engine.Graphics.DepthStencilState.DepthRead = new() { DepthBufferWriteEnable = false, IsLocked = true }
static

在文件 DepthStencilState.cs11 行定义.

◆ DepthWrite

readonly DepthStencilState Engine.Graphics.DepthStencilState.DepthWrite = new() { DepthBufferTestEnable = false, IsLocked = true }
static

在文件 DepthStencilState.cs13 行定义.

◆ m_depthBufferFunction

CompareFunction Engine.Graphics.DepthStencilState.m_depthBufferFunction = CompareFunction.LessEqual
private

在文件 DepthStencilState.cs7 行定义.

◆ m_depthBufferTestEnable

bool Engine.Graphics.DepthStencilState.m_depthBufferTestEnable = true
private

在文件 DepthStencilState.cs3 行定义.

◆ m_depthBufferWriteEnable

bool Engine.Graphics.DepthStencilState.m_depthBufferWriteEnable = true
private

在文件 DepthStencilState.cs5 行定义.

◆ None

readonly DepthStencilState Engine.Graphics.DepthStencilState.None = new() { DepthBufferTestEnable = false, DepthBufferWriteEnable = false, IsLocked = true }
static

在文件 DepthStencilState.cs15 行定义.

属性说明

◆ DepthBufferFunction

CompareFunction Engine.Graphics.DepthStencilState.DepthBufferFunction
getset

在文件 DepthStencilState.cs33 行定义.

◆ DepthBufferTestEnable

bool Engine.Graphics.DepthStencilState.DepthBufferTestEnable
getset

在文件 DepthStencilState.cs17 行定义.

◆ DepthBufferWriteEnable

bool Engine.Graphics.DepthStencilState.DepthBufferWriteEnable
getset

在文件 DepthStencilState.cs25 行定义.


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