public final class EffectParameter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
EffectAnnotationCollection |
getAnnotations()
Gets the collection of EffectAnnotation objects for this parameter.
|
int |
getColumnCount()
Gets the number of columns in the parameter description.
|
EffectParameterCollection |
getElements()
Gets the collection of effect parameters.
|
java.lang.String |
getName()
Gets the name of the parameter.
|
EffectParameterClass |
getParameterClass()
Gets the class of the parameter.
|
EffectParameterType |
getParameterType()
Gets the type of the parameter.
|
int |
getRowCount()
Gets the number of rows in the parameter description.
|
java.lang.String |
getSemantic()
Gets the semantic meaning, or usage, of the parameter.
|
EffectParameterCollection |
getStructureMembers()
Gets the collection of structure members.
|
boolean |
GetValueBoolean()
Gets the value of the EffectParameter as a Boolean.
|
boolean[] |
GetValueBooleanArray(int count)
Gets the value of the EffectParameter as an array of Boolean.
|
int |
GetValueInt32()
Gets the value of the EffectParameter as an Int32.
|
int[] |
GetValueInt32Array(int count)
Gets the value of the EffectParameter as an array of Int32.
|
Matrix |
GetValueMatrix()
Gets the value of the EffectParameter as a Matrix.
|
Matrix[] |
GetValueMatrixArray(int count)
Gets the value of the EffectParameter as an array of Matrix.
|
Matrix |
GetValueMatrixTranspose()
Gets the value of the EffectParameter as a transposed Matrix.
|
Matrix[] |
GetValueMatrixTransposeArray(int count)
Gets the value of the EffectParameter as an array of transposed Matrices.
|
Quaternion |
GetValueQuaternion()
Gets the value of the EffectParameter as a Quaternion.
|
Quaternion[] |
GetValueQuaternionArray(int count)
Gets the value of the EffectParameter as an array of Quaternion.
|
float |
GetValueSingle()
Gets the value of the EffectParameter as a Single.
|
float[] |
GetValueSingleArray(int count)
Gets the value of the EffectParameter as an array of Single.
|
java.lang.String |
GetValueString()
Gets the value of the EffectParameter as an String.
|
Texture2D |
GetValueTexture2D()
Gets the value of the EffectParameter as a Texture2D.
|
Texture3D |
GetValueTexture3D()
Gets the value of the EffectParameter as a Texture3D.
|
TextureCube |
GetValueTextureCube()
Gets the value of the EffectParameter as a TextureCube.
|
Vector2 |
GetValueVector2()
Gets the value of the EffectParameter as a Vector3.
|
Vector3 |
GetValueVector3()
Gets the value of the EffectParameter as a Vector3.
|
void |
SetValue(boolean value)
Sets the value of the EffectParameter.
|
void |
SetValue(boolean[] value)
Sets the value of the EffectParameter.
|
void |
SetValue(float value)
Sets the value of the EffectParameter.
|
void |
SetValue(float[] value)
Sets the value of the EffectParameter.
|
void |
SetValue(int value)
Sets the value of the EffectParameter.
|
void |
SetValue(int[] value)
Sets the value of the EffectParameter.
|
void |
SetValue(Matrix value)
Sets the value of the EffectParameter.
|
void |
SetValue(Matrix[] value)
Sets the value of the EffectParameter.
|
void |
SetValue(Quaternion value)
Sets the value of the EffectParameter.
|
void |
SetValue(Quaternion[] value)
Sets the value of the EffectParameter.
|
void |
SetValue(java.lang.String value)
Sets the value of the EffectParameter.
|
void |
SetValue(Texture value)
Sets the value of the EffectParameter.
|
void |
SetValue(Vector2 value)
Sets the value of the EffectParameter.
|
void |
SetValue(Vector2[] value)
Sets the value of the EffectParameter.
|
void |
SetValue(Vector3 value)
Sets the value of the EffectParameter.
|
void |
SetValue(Vector3[] value)
Sets the value of the EffectParameter.
|
void |
SetValue(Vector4 value)
Sets the value of the EffectParameter.
|
void |
SetValue(Vector4[] value)
Sets the value of the EffectParameter.
|
public EffectAnnotationCollection getAnnotations()
public int getColumnCount()
public EffectParameterCollection getElements()
public java.lang.String getName()
public EffectParameterClass getParameterClass()
public EffectParameterType getParameterType()
public int getRowCount()
public java.lang.String getSemantic()
public EffectParameterCollection getStructureMembers()
public boolean GetValueBoolean()
public boolean[] GetValueBooleanArray(int count)
count
- The number of elements in the array.public int GetValueInt32()
public int[] GetValueInt32Array(int count)
count
- The number of elements in the array.public Matrix GetValueMatrix()
public Matrix[] GetValueMatrixArray(int count)
count
- The number of elements in the array.public Matrix GetValueMatrixTranspose()
public Matrix[] GetValueMatrixTransposeArray(int count)
count
- The number of elements in the array.public Quaternion GetValueQuaternion()
public Quaternion[] GetValueQuaternionArray(int count)
count
- The number of elements in the array.public float GetValueSingle()
public float[] GetValueSingleArray(int count)
count
- The number of elements in the array.public java.lang.String GetValueString()
public Texture2D GetValueTexture2D()
public Texture3D GetValueTexture3D()
public TextureCube GetValueTextureCube()
public Vector2 GetValueVector2()
public Vector3 GetValueVector3()
public void SetValue(Matrix[] value)
value
- The value to assign to the EffectParameter.public void SetValue(Quaternion[] value)
value
- The value to assign to the EffectParameter.public void SetValue(Texture value)
value
- The value to assign to the EffectParameter.public void SetValue(Matrix value)
value
- The value to assign to the EffectParameter.public void SetValue(Quaternion value)
value
- The value to assign to the EffectParameter.public void SetValue(Vector2 value)
value
- The value to assign to the EffectParameter.public void SetValue(Vector3 value)
value
- The value to assign to the EffectParameter.public void SetValue(Vector4 value)
value
- The value to assign to the EffectParameter.public void SetValue(boolean value)
value
- The value to assign to the EffectParameter.public void SetValue(int value)
value
- The value to assign to the EffectParameter.public void SetValue(float value)
value
- The value to assign to the EffectParameter.public void SetValue(Vector2[] value)
value
- The value to assign to the EffectParameter.public void SetValue(Vector3[] value)
value
- The value to assign to the EffectParameter.public void SetValue(Vector4[] value)
value
- The value to assign to the EffectParameter.public void SetValue(java.lang.String value)
value
- The value to assign to the EffectParameter.public void SetValue(boolean[] value)
value
- The value to assign to the EffectParameter.public void SetValue(int[] value)
value
- The value to assign to the EffectParameter.public void SetValue(float[] value)
value
- The value to assign to the EffectParameter.