Interface IGraphicsCommandEncoder
Namespace: VelloSharp.Avalonia.Core.Rendering
Assembly: VelloSharp.Avalonia.Core.dll
Allows callers to access backend-specific contexts during scene submission.
public interface IGraphicsCommandEncoder
Extension Methods
GraphicsCommandEncoderExtensions.TryEncodeWgpu(IGraphicsCommandEncoder, Action<WgpuCommandEncoderContext>), GraphicsCommandEncoderExtensions.TryGetWgpuContext(IGraphicsCommandEncoder, out WgpuCommandEncoderContext)
Properties
Backend
Gets the backend used to produce the encoder.
GraphicsBackendKind Backend { get; }
Property Value
Methods
TryGetContext<TContext>(out TContext)
Attempts to retrieve the underlying backend context as the requested type.
bool TryGetContext<TContext>(out TContext context)
Parameters
context TContext
Receives the context when available.
Returns
true when the context is available; otherwise, false.
Type Parameters
TContext
Type of context requested.