Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Graphics.ShaderParameter
Engine.Graphics.ShaderParameter 的协作图:

Public 成员函数

 ShaderParameter (string name, ShaderParameterType type)
 ShaderParameter (Shader shader, string name, ShaderParameterType type, int count)
void SetValue (float value)
void SetValue (float[] value, int count)
void SetValue (Vector2 value)
void SetValue (Vector2[] value, int count)
void SetValue (Vector3 value)
void SetValue (Vector3[] value, int count)
void SetValue (Vector4 value)
void SetValue (Vector4[] value, int count)
void SetValue (Matrix value)
void SetValue (Matrix[] value, int count)
void SetValue (Texture2D value)
void SetValue (SamplerState value)

静态 Public 成员函数

static unsafe bool Compare (Vector2 *a, Vector2 *b)
static unsafe bool Compare (Vector3 *a, Vector3 *b)
static unsafe bool Compare (Vector4 *a, Vector4 *b)
static unsafe bool Compare (Matrix *a, Matrix *b)

Public 属性

object Resource
bool IsChanged = true
readonly Shader Shader
readonly string Name
readonly ShaderParameterType Type
readonly int Count
int Location
float[] Value

详细描述

在文件 ShaderParameter.cs2 行定义.

构造及析构函数说明

◆ ShaderParameter() [1/2]

Engine.Graphics.ShaderParameter.ShaderParameter ( string name,
ShaderParameterType type )

在文件 ShaderParameter.cs21 行定义.

◆ ShaderParameter() [2/2]

Engine.Graphics.ShaderParameter.ShaderParameter ( Shader shader,
string name,
ShaderParameterType type,
int count )

在文件 ShaderParameter.cs26 行定义.

成员函数说明

◆ Compare() [1/4]

unsafe bool Engine.Graphics.ShaderParameter.Compare ( Matrix * a,
Matrix * b )
static

在文件 ShaderParameter.cs675 行定义.

◆ Compare() [2/4]

unsafe bool Engine.Graphics.ShaderParameter.Compare ( Vector2 * a,
Vector2 * b )
static

在文件 ShaderParameter.cs653 行定义.

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

◆ Compare() [3/4]

unsafe bool Engine.Graphics.ShaderParameter.Compare ( Vector3 * a,
Vector3 * b )
static

在文件 ShaderParameter.cs655 行定义.

◆ Compare() [4/4]

unsafe bool Engine.Graphics.ShaderParameter.Compare ( Vector4 * a,
Vector4 * b )
static

在文件 ShaderParameter.cs665 行定义.

◆ SetValue() [1/12]

void Engine.Graphics.ShaderParameter.SetValue ( float value)

在文件 ShaderParameter.cs45 行定义.

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

◆ SetValue() [2/12]

void Engine.Graphics.ShaderParameter.SetValue ( float[] value,
int count )

在文件 ShaderParameter.cs78 行定义.

◆ SetValue() [3/12]

void Engine.Graphics.ShaderParameter.SetValue ( Matrix value)

在文件 ShaderParameter.cs447 行定义.

函数调用图:

◆ SetValue() [4/12]

void Engine.Graphics.ShaderParameter.SetValue ( Matrix[] value,
int count )

在文件 ShaderParameter.cs511 行定义.

函数调用图:

◆ SetValue() [5/12]

void Engine.Graphics.ShaderParameter.SetValue ( SamplerState value)

在文件 ShaderParameter.cs628 行定义.

◆ SetValue() [6/12]

void Engine.Graphics.ShaderParameter.SetValue ( Texture2D value)

在文件 ShaderParameter.cs603 行定义.

◆ SetValue() [7/12]

void Engine.Graphics.ShaderParameter.SetValue ( Vector2 value)

在文件 ShaderParameter.cs135 行定义.

函数调用图:

◆ SetValue() [8/12]

void Engine.Graphics.ShaderParameter.SetValue ( Vector2[] value,
int count )

在文件 ShaderParameter.cs171 行定义.

函数调用图:

◆ SetValue() [9/12]

void Engine.Graphics.ShaderParameter.SetValue ( Vector3 value)

在文件 ShaderParameter.cs235 行定义.

函数调用图:

◆ SetValue() [10/12]

void Engine.Graphics.ShaderParameter.SetValue ( Vector3[] value,
int count )

在文件 ShaderParameter.cs273 行定义.

函数调用图:

◆ SetValue() [11/12]

void Engine.Graphics.ShaderParameter.SetValue ( Vector4 value)

在文件 ShaderParameter.cs339 行定义.

函数调用图:

◆ SetValue() [12/12]

void Engine.Graphics.ShaderParameter.SetValue ( Vector4[] value,
int count )

在文件 ShaderParameter.cs379 行定义.

函数调用图:

类成员变量说明

◆ Count

readonly int Engine.Graphics.ShaderParameter.Count

在文件 ShaderParameter.cs8 行定义.

◆ IsChanged

bool Engine.Graphics.ShaderParameter.IsChanged = true

在文件 ShaderParameter.cs4 行定义.

◆ Location

int Engine.Graphics.ShaderParameter.Location

在文件 ShaderParameter.cs17 行定义.

◆ Name

readonly string Engine.Graphics.ShaderParameter.Name

在文件 ShaderParameter.cs6 行定义.

◆ Resource

object Engine.Graphics.ShaderParameter.Resource

在文件 ShaderParameter.cs3 行定义.

◆ Shader

readonly Shader Engine.Graphics.ShaderParameter.Shader

在文件 ShaderParameter.cs5 行定义.

◆ Type

readonly ShaderParameterType Engine.Graphics.ShaderParameter.Type

在文件 ShaderParameter.cs7 行定义.

◆ Value

float [] Engine.Graphics.ShaderParameter.Value

在文件 ShaderParameter.cs18 行定义.


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