Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.SimpleEffect Class Reference
Inheritance diagram for SiliconStudio.Paradox.Graphics.SimpleEffect:
SiliconStudio.Paradox.Graphics.Effect SiliconStudio.Core.ComponentBase SiliconStudio.Core.IComponent SiliconStudio.Core.ICollectorHolder SiliconStudio.Core.IReferencable SiliconStudio.Core.IReferencable

Public Member Functions

 SimpleEffect (GraphicsDevice graphicsDevice)
 
- Public Member Functions inherited from SiliconStudio.Paradox.Graphics.Effect
 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)
 
- Public Member Functions inherited from SiliconStudio.Core.ComponentBase
void Dispose ()
 
override string ToString ()
 

Properties

Color4 Color [get, set]
 Gets or sets the color. Default is SharpDX.Color.White. More...
 
Matrix Transform [get, set]
 
Texture Texture [get, set]
 
SamplerState Sampler [get, set]
 
- Properties inherited from SiliconStudio.Paradox.Graphics.Effect
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]
 
- Properties inherited from SiliconStudio.Core.ComponentBase
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...
 
- Properties inherited from SiliconStudio.Core.IComponent
long Id [get]
 Gets the id of this component. More...
 
string Name [get]
 Gets the name of this component. More...
 
- Properties inherited from SiliconStudio.Core.IReferencable
int ReferenceCount [get]
 Gets the reference count of this instance. More...
 
- Properties inherited from SiliconStudio.Core.ICollectorHolder
ObjectCollector Collector [get]
 Gets the collector. More...
 

Additional Inherited Members

- Public Attributes inherited from SiliconStudio.Core.ComponentBase
PropertyContainer Tags
 Gets the attached properties to this component. More...
 
- Static Public Attributes inherited from SiliconStudio.Paradox.Graphics.Effect
static readonly ParameterKey
< RasterizerState
RasterizerStateKey = ParameterKeys.New<RasterizerState>()
 
static readonly ParameterKey
< DepthStencilState
DepthStencilStateKey = ParameterKeys.New<DepthStencilState>()
 
static readonly ParameterKey
< BlendState
BlendStateKey = ParameterKeys.New<BlendState>()
 
- Protected Member Functions inherited from SiliconStudio.Core.ComponentBase
 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...
 

Detailed Description

Definition at line 8 of file SimpleEffect.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Graphics.SimpleEffect.SimpleEffect ( GraphicsDevice  graphicsDevice)

Definition at line 10 of file SimpleEffect.cs.

Property Documentation

Color4 SiliconStudio.Paradox.Graphics.SimpleEffect.Color
getset

Gets or sets the color. Default is SharpDX.Color.White.

The color.

Definition at line 23 of file SimpleEffect.cs.

SamplerState SiliconStudio.Paradox.Graphics.SimpleEffect.Sampler
getset

Definition at line 62 of file SimpleEffect.cs.

Texture SiliconStudio.Paradox.Graphics.SimpleEffect.Texture
getset

Definition at line 49 of file SimpleEffect.cs.

Matrix SiliconStudio.Paradox.Graphics.SimpleEffect.Transform
getset

Definition at line 36 of file SimpleEffect.cs.


The documentation for this class was generated from the following file: