Skip to content

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

object ← ImmediateContext

Derived

MetalImmediateContext, VulkanImmediateContext

Implements

IDisposable

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>