Tesla Graphics Engine Documentation (January 2012)
IEffectParameter Interface
TeslaTesla.GraphicsIEffectParameter
Interface representing a uniform parameter that is defined in an effect.
Declaration Syntax
C#
public interface IEffectParameter
Members
All Members Methods Properties



Icon Member Description
Annotations
Gets the collection of annotations that decorate the parameter.

ColumnCount
Gets the number of columns in the class of this parameter.

Elements
Gets the array elements of the parameter, if it is an array.

GetValueBoolean()()()()
Gets the value of the parameter as a bool.

GetValueBooleanArray(Int32)
Gets the value of the parameter as an array of bools.

GetValueColor()()()()
Gets the value of the parameter as a RGBA color.

GetValueColorArray(Int32)
Gets the value of the parameter as an array of RGBA colors.

GetValueInt()()()()
Gets the value of the parameter as an int.

GetValueIntArray(Int32)
Gets the value of the parameter as an array of ints.

GetValueMatrix()()()()
Gets the value of the parameter as a matrix.

GetValueMatrixArray(Int32)
Gets the value of the parameter as an array of matrices.

GetValueMatrixTranspose()()()()
Gets the value of the parameter as a matrix transpose.

GetValueMatrixTransposeArray(Int32)
Gets the value of the parameter as an array of matrix transposes.

GetValueQuaternion()()()()
Gets the value of the parameter as a quaternion.

GetValueQuaternionArray(Int32)
Gets the value of the parameter as an array of quaternions.

GetValueSingle()()()()
Gets the value of the parameter as a single.

GetValueSingleArray(Int32)
Gets the value of the parameter as an array of singles.

GetValueString()()()()
Gets the value of the parameter as a String.

GetValueTexture1D()()()()
Gets the value of the parameter as a Texture1D.

GetValueTexture2D()()()()
Gets the value of the parameter as a Texture2D.

GetValueTexture3D()()()()
Gets the value of the parameter as a Texture3D.

GetValueTextureArray(Int32)
Gets the value of the parameter as an array of textures.

GetValueTextureCube()()()()
Gets the value of the parameter as a TextureCube.

GetValueVector2()()()()
Gets the value of the parameter as a vector2.

GetValueVector2Array(Int32)
Gets the value of the parameter as an array of vector2's.

GetValueVector3()()()()
Gets the value of the parameter as a vector3.

GetValueVector3Array(Int32)
Gets the value of the parameter as an array of vector3's.

GetValueVector4()()()()
Gets the value of the parameter as a vector4.

GetValueVector4Array(Int32)
Gets the value of the parameter as an array of vector4's.

Name
Gets the name of the parameter.

ParameterClass
Gets the enumeration that specifies the parameter's classification.

ParameterType
Gets the enumeration that specifies the parameter's type.

RowCount
Gets the number of rows in the class of this parameter.

Semantic
Gets the semantic of the parameter, if it exists.

SetValue(Boolean)
Sets the value of the parameter.

SetValue(array<Boolean>[]()[][])
Sets the value of the parameter's elements.

SetValue(Single)
Sets the value of the parameter.

SetValue(array<Single>[]()[][])
Sets the value of the parameter's elements.

SetValue(Int32)
Sets the value of the parameter.

SetValue(array<Int32>[]()[][])
Sets the value of the parameter's elements.

SetValue(Matrix)
Sets the value of the parameter.

SetValue(array<Matrix>[]()[][])
Sets the value of the parameter's elements.

SetValue(Vector2)
Sets the value of the parameter.

SetValue(array<Vector2>[]()[][])
Sets the value of the parameter's elements.

SetValue(Vector3)
Sets the value of the parameter.

SetValue(array<Vector3>[]()[][])
Sets the value of the parameter's elements.

SetValue(Vector4)
Sets the value of the parameter.

SetValue(array<Vector4>[]()[][])
Sets the value of the parameter's elements.

SetValue(Quaternion)
Sets the value of the parameter.

SetValue(array<Quaternion>[]()[][])
Sets the value of the parameter's elements.

SetValue(Color)
Sets the value of the parameter.

SetValue(array<Color>[]()[][])
Sets the value of the parameter's elements.

SetValue(Texture)
Sets the value of the parameter.

SetValue(array<Texture>[]()[][])
Sets the value of the parameter's elements.

SetValueTranspose(Matrix)
Sets the value of the parameter.

SetValueTranspose(array<Matrix>[]()[][])
Sets the value of the parameter's elements.

StructureMembers
Gets the structure members of the parameter, if it is a struct.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)