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

Public 成员函数

bool BaseEquals (object obj)

Public 属性

BlendFunction m_alphaBlendFunction
Blend m_alphaSourceBlend = Blend.One
Blend m_alphaDestinationBlend
BlendFunction m_colorBlendFunction
Blend m_colorSourceBlend = Blend.One
Blend m_colorDestinationBlend
Vector4 m_blendFactor = Vector4.Zero

静态 Public 属性

static readonly BlendState Opaque = new() { IsLocked = true }
static readonly BlendState Additive
static readonly BlendState AlphaBlend
static readonly BlendState NonPremultiplied

属性

BlendFunction AlphaBlendFunction [get, set]
Blend AlphaSourceBlend [get, set]
Blend AlphaDestinationBlend [get, set]
BlendFunction ColorBlendFunction [get, set]
Blend ColorSourceBlend [get, set]
Blend ColorDestinationBlend [get, set]
Vector4 BlendFactor [get, set]

额外继承的成员函数

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

详细描述

在文件 BlendState.cs2 行定义.

成员函数说明

◆ BaseEquals()

bool Engine.Graphics.BlendState.BaseEquals ( object obj)

在文件 BlendState.cs99 行定义.

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

类成员变量说明

◆ Additive

readonly BlendState Engine.Graphics.BlendState.Additive
static

◆ AlphaBlend

readonly BlendState Engine.Graphics.BlendState.AlphaBlend
static
初始值:
= new() {
ColorDestinationBlend = Blend.InverseSourceAlpha,
AlphaDestinationBlend = Blend.InverseSourceAlpha,
IsLocked = true
}

在文件 BlendState.cs27 行定义.

◆ m_alphaBlendFunction

BlendFunction Engine.Graphics.BlendState.m_alphaBlendFunction

在文件 BlendState.cs3 行定义.

◆ m_alphaDestinationBlend

Blend Engine.Graphics.BlendState.m_alphaDestinationBlend

在文件 BlendState.cs7 行定义.

◆ m_alphaSourceBlend

Blend Engine.Graphics.BlendState.m_alphaSourceBlend = Blend.One

在文件 BlendState.cs5 行定义.

◆ m_blendFactor

Vector4 Engine.Graphics.BlendState.m_blendFactor = Vector4.Zero

在文件 BlendState.cs15 行定义.

◆ m_colorBlendFunction

BlendFunction Engine.Graphics.BlendState.m_colorBlendFunction

在文件 BlendState.cs9 行定义.

◆ m_colorDestinationBlend

Blend Engine.Graphics.BlendState.m_colorDestinationBlend

在文件 BlendState.cs13 行定义.

◆ m_colorSourceBlend

Blend Engine.Graphics.BlendState.m_colorSourceBlend = Blend.One

在文件 BlendState.cs11 行定义.

◆ NonPremultiplied

readonly BlendState Engine.Graphics.BlendState.NonPremultiplied
static
初始值:
= new() {
ColorSourceBlend = Blend.SourceAlpha,
ColorDestinationBlend = Blend.InverseSourceAlpha,
AlphaSourceBlend = Blend.SourceAlpha,
AlphaDestinationBlend = Blend.InverseSourceAlpha,
IsLocked = true
}

在文件 BlendState.cs35 行定义.

◆ Opaque

readonly BlendState Engine.Graphics.BlendState.Opaque = new() { IsLocked = true }
static

在文件 BlendState.cs17 行定义.

属性说明

◆ AlphaBlendFunction

BlendFunction Engine.Graphics.BlendState.AlphaBlendFunction
getset

在文件 BlendState.cs43 行定义.

◆ AlphaDestinationBlend

Blend Engine.Graphics.BlendState.AlphaDestinationBlend
getset

在文件 BlendState.cs59 行定义.

◆ AlphaSourceBlend

Blend Engine.Graphics.BlendState.AlphaSourceBlend
getset

在文件 BlendState.cs51 行定义.

◆ BlendFactor

Vector4 Engine.Graphics.BlendState.BlendFactor
getset

在文件 BlendState.cs91 行定义.

◆ ColorBlendFunction

BlendFunction Engine.Graphics.BlendState.ColorBlendFunction
getset

在文件 BlendState.cs67 行定义.

◆ ColorDestinationBlend

Blend Engine.Graphics.BlendState.ColorDestinationBlend
getset

在文件 BlendState.cs83 行定义.

◆ ColorSourceBlend

Blend Engine.Graphics.BlendState.ColorSourceBlend
getset

在文件 BlendState.cs75 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine.Graphics/BlendState.cs