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

상속: GraphicsResource
파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Clone void
Effect System
LoadEffectResource byte[]
ReadAnnotations EffectAnnotationCollection
ReadEffect void
ReadHeader MGFXHeader
ReadParameters EffectParameterCollection
ReadPasses EffectPassCollection

공개 메소드들

메소드 설명
Clone ( ) : Effect

Returns a deep copy of the effect where immutable types are shared and mutable data is duplicated.

See "Cloning an Effect" in MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476138(v=vs.85).aspx

Effect ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, byte effectCode ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Effect ( Effect cloneSource ) : System
GraphicsDeviceResetting ( ) : void
OnApply ( ) : bool

비공개 메소드들

메소드 설명
Clone ( Effect cloneSource ) : void

Clone the source into this existing object.

Note this is not overloaded in derived classes on purpose. This is only a reason this exists is for caching effects.

Effect ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice ) : System
LoadEffectResource ( string name ) : byte[]
ReadAnnotations ( BinaryReader reader ) : EffectAnnotationCollection
ReadEffect ( BinaryReader reader ) : void
ReadHeader ( byte effectCode ) : MGFXHeader
ReadParameters ( BinaryReader reader ) : EffectParameterCollection
ReadPasses ( BinaryReader reader, Effect effect, Shader shaders ) : EffectPassCollection

메소드 상세

Clone() 공개 메소드

Returns a deep copy of the effect where immutable types are shared and mutable data is duplicated.
See "Cloning an Effect" in MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476138(v=vs.85).aspx
public Clone ( ) : Effect
리턴 Effect

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Effect() 보호된 메소드

protected Effect ( Effect cloneSource ) : System
cloneSource Effect
리턴 System

Effect() 공개 메소드

public Effect ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, byte effectCode ) : System
graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
effectCode byte
리턴 System

GraphicsDeviceResetting() 보호된 메소드

protected GraphicsDeviceResetting ( ) : void
리턴 void

OnApply() 보호된 메소드

protected OnApply ( ) : bool
리턴 bool