Struct DefaultLayerScope
Scope that makes renderer draw into default layer
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
using (new DefaultLayerScope()) {
// Rendering cell created inside will draw into default layer
}
}
}
Constructors
DefaultLayerScope()
Scope that makes renderer draw into default layer
Declaration
public DefaultLayerScope()
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()