![]() |
Paradox Game Engine
v1.0.0 beta06
|
Static Public Attributes | |
static readonly ParameterKey < bool > | UsedNormalMap = ParameterKeys.New<bool>(false) |
Additional Inherited Members | |
![]() | |
ShaderMixinParameters () | |
Initializes a new instance of the ShaderMixinParameters class. More... | |
ShaderMixinParameters (string name) | |
Initializes a new instance of the ParameterCollection class. More... | |
![]() | |
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) |
T | 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) |
T | 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... | |
![]() | |
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 () |
![]() | |
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< ParameterKey > | Keys [get] |
Gets the keys of this collection. More... | |
ICollection< object > | Values [get, set] |
object | this[ParameterKey key] [get, set] |
Definition at line 29 of file BasicShaders.cs.
|
static |
Definition at line 33 of file BasicShaders.cs.