C# Class Microsoft.Xna.Framework.Graphics.AlphaTestEffect

Built-in effect that supports alpha testing.
Inheritance: Effect, IEffectMatrices, IEffectFog
Afficher le fichier Open project: procfxgen/MGShaderEditor Class Usage Examples

Méthodes publiques

Méthode Description
AlphaTestEffect ( GraphicsDevice device ) : Microsoft.Xna.Framework

Creates a new AlphaTestEffect with default parameter settings.

Clone ( ) : Effect

Creates a clone of the current AlphaTestEffect instance.

Méthodes protégées

Méthode Description
AlphaTestEffect ( AlphaTestEffect cloneSource ) : Microsoft.Xna.Framework

Creates a new AlphaTestEffect by cloning parameter settings from an existing instance.

OnApply ( ) : bool

Lazily computes derived parameter values immediately before applying the effect.

Private Methods

Méthode Description
CacheEffectParameters ( ) : void

Looks up shortcut references to our effect parameters.

Method Details

AlphaTestEffect() protected méthode

Creates a new AlphaTestEffect by cloning parameter settings from an existing instance.
protected AlphaTestEffect ( AlphaTestEffect cloneSource ) : Microsoft.Xna.Framework
cloneSource AlphaTestEffect
Résultat Microsoft.Xna.Framework

AlphaTestEffect() public méthode

Creates a new AlphaTestEffect with default parameter settings.
public AlphaTestEffect ( GraphicsDevice device ) : Microsoft.Xna.Framework
device GraphicsDevice
Résultat Microsoft.Xna.Framework

Clone() public méthode

Creates a clone of the current AlphaTestEffect instance.
public Clone ( ) : Effect
Résultat Effect

OnApply() protected méthode

Lazily computes derived parameter values immediately before applying the effect.
protected OnApply ( ) : bool
Résultat bool