Table of Contents

Class EffectParameter

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll
public class EffectParameter
Inheritance
EffectParameter
Inherited Members

Properties

Annotations

public EffectAnnotationCollection Annotations { get; }

Property Value

EffectAnnotationCollection

ColumnCount

public int ColumnCount { get; }

Property Value

int

Elements

public EffectParameterCollection Elements { get; }

Property Value

EffectParameterCollection

Name

public string Name { get; }

Property Value

string

ParameterClass

public EffectParameterClass ParameterClass { get; }

Property Value

EffectParameterClass

ParameterType

public EffectParameterType ParameterType { get; }

Property Value

EffectParameterType

RowCount

public int RowCount { get; }

Property Value

int

Semantic

public string Semantic { get; }

Property Value

string

StructureMembers

public EffectParameterCollection StructureMembers { get; }

Property Value

EffectParameterCollection

Methods

GetValueBoolean()

public bool GetValueBoolean()

Returns

bool

GetValueInt32()

public int GetValueInt32()

Returns

int

GetValueInt32Array()

public int[] GetValueInt32Array()

Returns

int[]

GetValueMatrix()

public Matrix GetValueMatrix()

Returns

Matrix

GetValueMatrixArray(int)

public Matrix[] GetValueMatrixArray(int count)

Parameters

count int

Returns

Matrix[]

GetValueQuaternion()

public Quaternion GetValueQuaternion()

Returns

Quaternion

GetValueSingle()

public float GetValueSingle()

Returns

float

GetValueSingleArray()

public float[] GetValueSingleArray()

Returns

float[]

GetValueString()

public string GetValueString()

Returns

string

GetValueTexture2D()

public Texture2D GetValueTexture2D()

Returns

Texture2D

GetValueTexture3D()

public Texture3D GetValueTexture3D()

Returns

Texture3D

GetValueTextureCube()

public TextureCube GetValueTextureCube()

Returns

TextureCube

GetValueVector2()

public Vector2 GetValueVector2()

Returns

Vector2

GetValueVector2Array()

public Vector2[] GetValueVector2Array()

Returns

Vector2[]

GetValueVector3()

public Vector3 GetValueVector3()

Returns

Vector3

GetValueVector3Array()

public Vector3[] GetValueVector3Array()

Returns

Vector3[]

GetValueVector4()

public Vector4 GetValueVector4()

Returns

Vector4

GetValueVector4Array()

public Vector4[] GetValueVector4Array()

Returns

Vector4[]

SetValue(Texture)

public void SetValue(Texture value)

Parameters

value Texture

SetValue(Matrix)

public void SetValue(Matrix value)

Parameters

value Matrix

SetValue(Matrix[])

public void SetValue(Matrix[] value)

Parameters

value Matrix[]

SetValue(Quaternion)

public void SetValue(Quaternion value)

Parameters

value Quaternion

SetValue(Vector2)

public void SetValue(Vector2 value)

Parameters

value Vector2

SetValue(Vector2[])

public void SetValue(Vector2[] value)

Parameters

value Vector2[]

SetValue(Vector3)

public void SetValue(Vector3 value)

Parameters

value Vector3

SetValue(Vector3[])

public void SetValue(Vector3[] value)

Parameters

value Vector3[]

SetValue(Vector4)

public void SetValue(Vector4 value)

Parameters

value Vector4

SetValue(Vector4[])

public void SetValue(Vector4[] value)

Parameters

value Vector4[]

SetValue(bool)

public void SetValue(bool value)

Parameters

value bool

SetValue(int)

public void SetValue(int value)

Parameters

value int

SetValue(int[])

public void SetValue(int[] value)

Parameters

value int[]

SetValue(float)

public void SetValue(float value)

Parameters

value float

SetValue(float[])

public void SetValue(float[] value)

Parameters

value float[]

SetValueTranspose(Matrix)

public void SetValueTranspose(Matrix value)

Parameters

value Matrix