![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
Effect (GraphicsDevice device, byte[] bytecode) | |
Initializes a new instance of the Effect class. More... | |
Effect (GraphicsDevice device, EffectBytecode bytecode, ParameterCollection usedParameters=null) | |
Initializes a new instance of the Effect class. More... | |
void | Apply (bool applyEffectStates=false) |
void | Apply (ParameterCollection paramCollection1, bool applyEffectStates=false) |
void | Apply (ParameterCollection paramCollection1, ParameterCollection paramCollection2, bool applyEffectStates=false) |
void | Apply (ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, bool applyEffectStates=false) |
void | Apply (ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, ParameterCollection paramCollection4, bool applyEffectStates=false) |
void | Apply (ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, ParameterCollection paramCollection4, ParameterCollection paramCollection5, bool applyEffectStates=false) |
void | Apply (ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, ParameterCollection paramCollection4, ParameterCollection paramCollection5, ParameterCollection paramCollection6, bool applyEffectStates=false) |
void | Apply (ParameterCollection[] parameterCollections, bool applyEffectStates=false) |
void | UnbindResources () |
void | Apply (GraphicsDevice graphicsDevice, bool applyEffectStates) |
void | Apply (GraphicsDevice graphicsDevice, ParameterCollection paramCollection1, bool applyEffectStates) |
void | Apply (GraphicsDevice graphicsDevice, ParameterCollection paramCollection1, ParameterCollection paramCollection2, bool applyEffectStates) |
void | Apply (GraphicsDevice graphicsDevice, ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, bool applyEffectStates) |
void | Apply (GraphicsDevice graphicsDevice, ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, ParameterCollection paramCollection4, bool applyEffectStates) |
void | Apply (GraphicsDevice graphicsDevice, ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, ParameterCollection paramCollection4, ParameterCollection paramCollection5, bool applyEffectStates) |
void | Apply (GraphicsDevice graphicsDevice, ParameterCollection paramCollection1, ParameterCollection paramCollection2, ParameterCollection paramCollection3, ParameterCollection paramCollection4, ParameterCollection paramCollection5, ParameterCollection paramCollection6, bool applyEffectStates) |
void | Apply (GraphicsDevice graphicsDevice, ParameterCollection[] parameterCollections, bool applyEffectStates) |
void | UnbindResources (GraphicsDevice graphicsDevice) |
bool | HasParameter (ParameterKey parameterKey) |
![]() | |
void | Dispose () |
override string | ToString () |
Static Public Attributes | |
static readonly ParameterKey < RasterizerState > | RasterizerStateKey = ParameterKeys.New<RasterizerState>() |
static readonly ParameterKey < DepthStencilState > | DepthStencilStateKey = ParameterKeys.New<DepthStencilState>() |
static readonly ParameterKey < BlendState > | BlendStateKey = ParameterKeys.New<BlendState>() |
Properties | |
EffectInputSignature | InputSignature [get] |
Gets the input signature of this effect. More... | |
ParameterCollection | Parameters [get] |
Gets the parameters. More... | |
bool | Changed [get, set] |
Gets a boolean indicating if the effect changed since last update. More... | |
List < ShaderConstantBufferDescription > | ConstantBuffers [get] |
![]() | |
long | Id [get, set] |
string | Name [get, set] |
Gets or sets the name of this component. More... | |
bool | IsDisposed [get, set] |
Has the component been disposed or not yet. More... | |
![]() | |
long | Id [get] |
Gets the id of this component. More... | |
string | Name [get] |
Gets the name of this component. More... | |
![]() | |
int | ReferenceCount [get] |
Gets the reference count of this instance. More... | |
![]() | |
ObjectCollector | Collector [get] |
Gets the collector. More... | |
Additional Inherited Members | |
![]() | |
PropertyContainer | Tags |
Gets the attached properties to this component. More... | |
![]() | |
ComponentBase () | |
Initializes a new instance of the ComponentBase class. More... | |
ComponentBase (string name) | |
Initializes a new instance of the ComponentBase class. More... | |
virtual void | OnNameChanged () |
Called when Name property was changed. More... | |
virtual void | Destroy () |
Disposes of object resources. More... | |
SiliconStudio.Paradox.Graphics.Effect.Effect | ( | GraphicsDevice | device, |
byte[] | bytecode | ||
) |
SiliconStudio.Paradox.Graphics.Effect.Effect | ( | GraphicsDevice | device, |
EffectBytecode | bytecode, | ||
ParameterCollection | usedParameters = null |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | bool | applyEffectStates = false | ) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | ParameterCollection | paramCollection1, |
bool | applyEffectStates = false |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | ParameterCollection | paramCollection1, |
ParameterCollection | paramCollection2, | ||
bool | applyEffectStates = false |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | ParameterCollection | paramCollection1, |
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
bool | applyEffectStates = false |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | ParameterCollection | paramCollection1, |
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
ParameterCollection | paramCollection4, | ||
bool | applyEffectStates = false |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | ParameterCollection | paramCollection1, |
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
ParameterCollection | paramCollection4, | ||
ParameterCollection | paramCollection5, | ||
bool | applyEffectStates = false |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | ParameterCollection | paramCollection1, |
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
ParameterCollection | paramCollection4, | ||
ParameterCollection | paramCollection5, | ||
ParameterCollection | paramCollection6, | ||
bool | applyEffectStates = false |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | ParameterCollection[] | parameterCollections, |
bool | applyEffectStates = false |
||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
bool | applyEffectStates | ||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
ParameterCollection | paramCollection1, | ||
bool | applyEffectStates | ||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
ParameterCollection | paramCollection1, | ||
ParameterCollection | paramCollection2, | ||
bool | applyEffectStates | ||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
ParameterCollection | paramCollection1, | ||
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
bool | applyEffectStates | ||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
ParameterCollection | paramCollection1, | ||
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
ParameterCollection | paramCollection4, | ||
bool | applyEffectStates | ||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
ParameterCollection | paramCollection1, | ||
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
ParameterCollection | paramCollection4, | ||
ParameterCollection | paramCollection5, | ||
bool | applyEffectStates | ||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
ParameterCollection | paramCollection1, | ||
ParameterCollection | paramCollection2, | ||
ParameterCollection | paramCollection3, | ||
ParameterCollection | paramCollection4, | ||
ParameterCollection | paramCollection5, | ||
ParameterCollection | paramCollection6, | ||
bool | applyEffectStates | ||
) |
void SiliconStudio.Paradox.Graphics.Effect.Apply | ( | GraphicsDevice | graphicsDevice, |
ParameterCollection[] | parameterCollections, | ||
bool | applyEffectStates | ||
) |
bool SiliconStudio.Paradox.Graphics.Effect.HasParameter | ( | ParameterKey | parameterKey | ) |
Definition at line 309 of file Effect.cs.
Referenced by SiliconStudio.Paradox.Graphics.BatchBase< TDrawInfo >.Begin().
void SiliconStudio.Paradox.Graphics.Effect.UnbindResources | ( | ) |
void SiliconStudio.Paradox.Graphics.Effect.UnbindResources | ( | GraphicsDevice | graphicsDevice | ) |
|
static |
|
static |
|
static |
|
getset |
Gets a boolean indicating if the effect changed since last update.
The changed.
Definition at line 105 of file Effect.cs.
Referenced by SiliconStudio.Paradox.Effects.DynamicEffectCompiler.Update().
|
get |
|
get |
|
get |