Class ImmediateContext¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
Records a command buffer, submits it and waits for it: for loading and tools, where stalling is fine. A frame never uses this. Safe to call from several threads (the calls are serialized).
public abstract class ImmediateContext : IDisposable
Inheritance¶
Derived¶
MetalImmediateContext, VulkanImmediateContext
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods¶
Dispose()¶
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public abstract void Dispose()
Submit(Action<CommandRecorder>)¶
Runs record on a command buffer and returns when the GPU has finished it.
public abstract void Submit(Action<CommandRecorder> record)
Parameters¶
record Action<CommandRecorder>