Synced
LayerStack
Section titled “LayerStack”
- Owns an ordered collection of base layers and overlays with isolated event scopes.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Core.Layers
Declaration
Section titled “Declaration”public sealed class Inno.Core.Layers.LayerStack : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | LayerStack.Constructor | Creates a layer stack that obtains one event scope for each attachment. |
| Methods | LayerStack.Clear | Detaches every layer in top-to-bottom order while keeping this stack reusable. |
| Methods | LayerStack.Dispose | Detaches every layer and permanently releases this stack. |
| Methods | LayerStack.OnFixedUpdate | Advances fixed-step callbacks in bottom-to-top stack order. |
| Methods | LayerStack.OnLateUpdate | Advances late-update callbacks in bottom-to-top stack order. |
| Methods | LayerStack.OnUpdate | Advances variable-step callbacks in bottom-to-top stack order. |
| Methods | LayerStack.PopLayer | Detaches a base layer from this stack. |
| Methods | LayerStack.PopOverlay | Detaches an overlay from this stack. |
| Methods | LayerStack.PushLayer | Attaches a base layer below all overlays. |
| Methods | LayerStack.PushOverlay | Attaches an overlay above all base layers and existing overlays. |
| Methods | LayerStack.RenderFrame | Executes preparation and submission in stack order, then completion in reverse order. |
| Properties | LayerStack.count | Gets the number of attached base layers and overlays. |
| Properties | LayerStack.Item | Gets the layer at the supplied stack position. |