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

Наследование: GraphicsResource
Показать файл Открыть проект Примеры использования класса

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