C# Класс Microsoft.Xna.Framework.Graphics.AlphaTestEffect

Built-in effect that supports alpha testing.
Наследование: Effect, IEffectMatrices, IEffectFog
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AlphaTestEffect ( GraphicsDevice device ) : Microsoft.Xna.Framework

Creates a new AlphaTestEffect with default parameter settings.

Clone ( ) : Effect

Creates a clone of the current AlphaTestEffect instance.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
CacheEffectParameters ( ) : void

Looks up shortcut references to our effect parameters.

Описание методов

AlphaTestEffect() защищенный Метод

Creates a new AlphaTestEffect by cloning parameter settings from an existing instance.
protected AlphaTestEffect ( AlphaTestEffect cloneSource ) : Microsoft.Xna.Framework
cloneSource AlphaTestEffect
Результат Microsoft.Xna.Framework

AlphaTestEffect() публичный Метод

Creates a new AlphaTestEffect with default parameter settings.
public AlphaTestEffect ( GraphicsDevice device ) : Microsoft.Xna.Framework
device GraphicsDevice
Результат Microsoft.Xna.Framework

Clone() публичный Метод

Creates a clone of the current AlphaTestEffect instance.
public Clone ( ) : Effect
Результат Effect

OnApply() защищенный Метод

Lazily computes derived parameter values immediately before applying the effect.
protected OnApply ( ) : bool
Результат bool