C# 클래스 Microsoft.Xna.Framework.Graphics.AlphaTestEffect

Built-in effect that supports alpha testing.
상속: Effect, IEffectMatrices, IEffectFog
파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

공개 메소드들

메소드 설명
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