Table of Contents

Class EffectTechniqueCollection

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

Represents a collection of EffectTechnique objects.

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

public EffectTechnique this[int index] { get; }

Parameters

index int

Property Value

EffectTechnique

this[string]

Retrieves a EffectTechnique from the collection, given the name of the technique.

public EffectTechnique this[string name] { get; }

Parameters

name string

The name of the technique to retrieve.

Property Value

EffectTechnique

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<EffectTechnique> GetEnumerator()

Returns

IEnumerator<EffectTechnique>

An enumerator that can be used to iterate through the collection.