ShaderMixinParameters Class
Namespace: Stride.Shaders
Assembly: Stride.Shaders.dll
Parameters used for mixin.
[DataSerializer(typeof(DictionaryAllSerializer<ShaderMixinParameters, ParameterKey, object>))]
public class ShaderMixinParameters : ParameterCollection, IDictionary<ParameterKey, object>, ICollection<KeyValuePair<ParameterKey, object>>, IEnumerable<KeyValuePair<ParameterKey, object>>, IEnumerable
|
Improve this Doc
View Source
Constructors
ShaderMixinParameters()
public ShaderMixinParameters()
|
Improve this Doc
View Source
Fields
EffectParameters
public EffectCompilerParameters EffectParameters
Field Value
|
Improve this Doc
View Source
Properties
Count
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsReadOnly
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[ParameterKey]
public object this[ParameterKey key] { get; set; }
Parameters
Property Value
Type |
Description |
System.Object |
|
Keys
public ICollection<ParameterKey> Keys { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<ParameterKey> |
|
Values
public ICollection<object> Values { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.Object> |
|
|
Improve this Doc
View Source
Methods
Add(ParameterKey, Object)
public void Add(ParameterKey key, object value)
Parameters
Add(KeyValuePair<ParameterKey, Object>)
public void Add(KeyValuePair<ParameterKey, object> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<ParameterKey, System.Object> |
item |
|
Contains(KeyValuePair<ParameterKey, Object>)
public bool Contains(KeyValuePair<ParameterKey, object> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<ParameterKey, System.Object> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
CopyTo(KeyValuePair<ParameterKey, Object>[], Int32)
public void CopyTo(KeyValuePair<ParameterKey, object>[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<ParameterKey, System.Object>[] |
array |
|
System.Int32 |
arrayIndex |
|
GetEnumerator()
public IEnumerator<KeyValuePair<ParameterKey, object>> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<ParameterKey, System.Object>> |
|
Remove(KeyValuePair<ParameterKey, Object>)
public bool Remove(KeyValuePair<ParameterKey, object> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<ParameterKey, System.Object> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetValue(ParameterKey, out Object)
public bool TryGetValue(ParameterKey key, out object value)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Extension Methods