Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DefaultEffects.LightingParameters Class Reference
Inheritance diagram for DefaultEffects.LightingParameters:
SiliconStudio.Paradox.Shaders.ShaderMixinParameters SiliconStudio.Paradox.Effects.ParameterCollection IDictionary< ParameterKey, object >

Static Public Attributes

static readonly ParameterKey< int > PerPixelDirectionalLightCount = ParameterKeys.New<int>()
 
static readonly ParameterKey< int > PerPixelDiffuseDirectionalLightCount = ParameterKeys.New<int>()
 
static readonly ParameterKey< int > PerVertexDirectionalLightCount = ParameterKeys.New<int>()
 
static readonly ParameterKey< int > PerVertexDiffusePixelSpecularDirectionalLightCount = ParameterKeys.New<int>()
 

Additional Inherited Members

- Public Member Functions inherited from SiliconStudio.Paradox.Shaders.ShaderMixinParameters
 ShaderMixinParameters ()
 Initializes a new instance of the ShaderMixinParameters class. More...
 
 ShaderMixinParameters (string name)
 Initializes a new instance of the ParameterCollection class. More...
 
- Public Member Functions inherited from SiliconStudio.Paradox.Effects.ParameterCollection
 ParameterCollection ()
 Initializes a new instance of the ParameterCollection class. More...
 
 ParameterCollection (string name)
 Initializes a new instance of the ParameterCollection class. More...
 
delegate void ValueChangedDelegate (ParameterKey key, InternalValue internalValue, object oldValue)
 
void Clear ()
 
void AddEvent (ParameterKey key, ValueChangedDelegate valueUpdated)
 Adds an event that will be raised when a value is updated. More...
 
bool ContainsKey (ParameterKey key)
 Determines whether the specified instance contains a parameter key. More...
 
void Add (ParameterKey key, object value)
 
bool TryGetValue (ParameterKey key, out object value)
 
IEnumerator< KeyValuePair
< ParameterKey, object > > 
GetEnumerator ()
 
override string ToString ()
 
string ToStringDetailed (string itemSeparator="\r\n", string itemTab=" ")
 
void Add< T > (ParameterKey< T > key, T value)
 
Get< T > (ParameterKey< T > key)
 Gets the value for the specified key. More...
 
void Get< T > (ParameterKey< T > key, out T result)
 Gets the value for the specified key. More...
 
object GetObject (ParameterKey key)
 
TryGet< T > (ParameterKey< T > key)
 Tries to get the value for the specified key. More...
 
bool TryGet< T > (ParameterKey< T > key, out T result)
 Tries to get the value for the specified key. More...
 
void AddDynamic< T > (ParameterKey< T > key, ParameterDynamicValue< T > dynamicValue)
 
void SetDefault (ParameterKey key, bool overrideIfInherited=false)
 Sets the default value for the specified key (if undefined, otherwise do nothing). More...
 
void Set< T > (ParameterKey< T > key, T value)
 Sets a struct value for the specified key. More...
 
void SetArray< T > (ParameterKey< T[]> key, T[] values)
 Sets an array of valuetypes for the specified key. More...
 
void Set< T > (ParameterKey< T[]> key, T[] values, int destinationOffset, int count)
 Sets an array of valuetypes for the specified key. More...
 
void Set< T > (ParameterKey< T[]> key, T[] values, int sourceOffset, int destinationOffset, int count)
 Sets an array of valuetypes for the specified key. More...
 
void SetObject (ParameterKey key, object resourceValue)
 
void Remove (ParameterKey key)
 Removes the specified key and associated value More...
 
bool Contains (ParameterCollection parameters)
 Tests if the values in parameters are contained into this instance. It will automatically handle default values as well (that is, if something is set in parameters with default value but not set in this instance, it will be ignored). More...
 
void AddSources (params IParameterCollectionInheritance[] newSources)
 Adds the sources. More...
 
bool RemoveSource (IParameterCollectionInheritance removedInheritance)
 Removes the sources. More...
 
void Reset (ParameterKey key)
 Removes the value locally and try to get a value from a source. More...
 
bool IsValueOwner (InternalValue internalValue)
 Determines whether [is value owner] of [the specified key]. More...
 
- Protected Member Functions inherited from SiliconStudio.Paradox.Effects.ParameterCollection
bool GetKeyIndex (ParameterKey key, out int index)
 
int InternalValueBinarySearch (ParameterKey key)
 Gets the index of an InternalValue within internalValues given its key. More...
 
int GetOrCreateKeyIndex (ParameterKey key)
 Gets or creates an internal value index given its key. More...
 
void Destroy ()
 
- Properties inherited from SiliconStudio.Paradox.Effects.ParameterCollection
string Name [get, set]
 
IParameterCollectionInheritance[] Sources [get]
 Gets the sources for this collection. More...
 
IEnumerable
< ParameterDynamicValue
DynamicValues [get]
 Gets the dynamic values. More...
 
int Count [get]
 Gets the number of parameters stored in this instance.. More...
 
bool IsReadOnly [get, set]
 
IEnumerable< ParameterKeyKeys [get]
 Gets the keys of this collection. More...
 
ICollection< object > Values [get, set]
 
object this[ParameterKey key] [get, set]
 

Detailed Description

Definition at line 32 of file DefaultDeferredEffect.cs.

Member Data Documentation

readonly ParameterKey<int> DefaultEffects.LightingParameters.PerPixelDiffuseDirectionalLightCount = ParameterKeys.New<int>()
static

Definition at line 39 of file DefaultDeferredEffect.cs.

readonly ParameterKey<int> DefaultEffects.LightingParameters.PerPixelDirectionalLightCount = ParameterKeys.New<int>()
static

Definition at line 36 of file DefaultDeferredEffect.cs.

readonly ParameterKey<int> DefaultEffects.LightingParameters.PerVertexDiffusePixelSpecularDirectionalLightCount = ParameterKeys.New<int>()
static

Definition at line 45 of file DefaultDeferredEffect.cs.

readonly ParameterKey<int> DefaultEffects.LightingParameters.PerVertexDirectionalLightCount = ParameterKeys.New<int>()
static

Definition at line 42 of file DefaultDeferredEffect.cs.


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