MaterialPassCollection Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
A collection of MaterialPass.
Derived from MaterialPassCollection:
[DataSerializer(typeof(ListAllSerializer<MaterialPassCollection, MaterialPass>))]
public sealed class MaterialPassCollection : FastCollection<MaterialPass>, IList<MaterialPass>, ICollection<MaterialPass>, IReadOnlyList<MaterialPass>, IReadOnlyCollection<MaterialPass>, IEnumerable<MaterialPass>, IEnumerable
Name | Description | |
---|---|---|
Methods | ||
InsertItem(Int32, MaterialPass) | ||
RemoveItem(Int32) | ||
SetItem(Int32, MaterialPass) |
Methods
InsertItem(Int32, MaterialPass)
protected override void InsertItem(int index, MaterialPass item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
MaterialPass | item |
Overrides
Stride.Core.Collections.FastCollection<Stride.Rendering.MaterialPass>.InsertItem(System.Int32, Stride.Rendering.MaterialPass)
RemoveItem(Int32)
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
Stride.Core.Collections.FastCollection<Stride.Rendering.MaterialPass>.RemoveItem(System.Int32)
SetItem(Int32, MaterialPass)
protected override void SetItem(int index, MaterialPass item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
MaterialPass | item |
Overrides
Stride.Core.Collections.FastCollection<Stride.Rendering.MaterialPass>.SetItem(System.Int32, Stride.Rendering.MaterialPass)