Skip to content

RenderSurfaceDescriptor.Offscreen method

Describes a GPU-sampleable offscreen surface whose content is then drawn as an image.

public static RenderSurfaceDescriptor Offscreen(int pixelWidth, int pixelHeight,
double dpiScale = 1m, bool hasAlpha = true, string? debugName = null)