Class EffectParameterCollection
Represents a collection of EffectParameter objects.
public class EffectParameterCollection : IEnumerable<EffectParameter>, IEnumerable
- Inheritance
-
EffectParameterCollection
- Implements
- Inherited Members
Properties
Count
Gets the number of elements contained in the collection.
public int Count { get; }
Property Value
this[int]
Retrieves the EffectParameter at the specified index in the collection.
public EffectParameter this[int index] { get; }
Parameters
index
int
Property Value
this[string]
Retrieves a EffectParameter from the collection, given the name of the parameter.
public EffectParameter this[string name] { get; }
Parameters
name
stringThe name of the parameter to retrieve.
Property Value
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<EffectParameter> GetEnumerator()
Returns
- IEnumerator<EffectParameter>
An enumerator that can be used to iterate through the collection.