Table of Contents

Class EffectParameterCollection

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

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

int

this[int]

Retrieves the EffectParameter at the specified index in the collection.

public EffectParameter this[int index] { get; }

Parameters

index int

Property Value

EffectParameter

this[string]

Retrieves a EffectParameter from the collection, given the name of the parameter.

public EffectParameter this[string name] { get; }

Parameters

name string

The name of the parameter to retrieve.

Property Value

EffectParameter

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.