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

The default effect used by SpriteBatch.
상속: Effect
파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : Effect

Creates a clone of the current SpriteEffect instance.

SpriteEffect ( GraphicsDevice device )

Creates a new SpriteEffect.

보호된 메소드들

메소드 설명
OnApply ( ) : bool

Lazily computes derived parameter values immediately before applying the effect.

SpriteEffect ( SpriteEffect cloneSource )

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

비공개 메소드들

메소드 설명
CacheEffectParameters ( ) : void

Looks up shortcut references to our effect parameters.

메소드 상세

Clone() 공개 메소드

Creates a clone of the current SpriteEffect instance.
public Clone ( ) : Effect
리턴 Effect

OnApply() 보호된 메소드

Lazily computes derived parameter values immediately before applying the effect.
protected OnApply ( ) : bool
리턴 bool

SpriteEffect() 공개 메소드

Creates a new SpriteEffect.
public SpriteEffect ( GraphicsDevice device )
device GraphicsDevice

SpriteEffect() 보호된 메소드

Creates a new SpriteEffect by cloning parameter settings from an existing instance.
protected SpriteEffect ( SpriteEffect cloneSource )
cloneSource SpriteEffect