Table of Contents

Class EffectPassCollection

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

Represents a collection of EffectPass objects.

public class EffectPassCollection : IEnumerable<EffectPass>, IEnumerable
Inheritance
EffectPassCollection
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 EffectPass at the specified index in the collection.

public EffectPass this[int index] { get; }

Parameters

index int

Property Value

EffectPass

this[string]

Retrieves a EffectPass from the collection, given the name of the pass.

public EffectPass this[string name] { get; }

Parameters

name string

The name of the pass to retrieve.

Property Value

EffectPass

Methods

GetEnumerator()

Returns a EffectPassCollection.Enumerator that can iterate through a collection.

public EffectPassCollection.Enumerator GetEnumerator()

Returns

EffectPassCollection.Enumerator