Skip to main content

CopyPixels(ILockedFramebuffer, AlphaFormat) Method

Copies pixels to the target buffer and transcodes the pixel and alpha format if needed.

Definition​

Namespace: Avalonia.Media.Imaging
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void CopyPixels(
ILockedFramebuffer buffer,
AlphaFormat alphaFormat
)

Parameters​

  ILockedFramebuffer
The target buffer.
  AlphaFormat
The alpha format.

Exceptions​

NotSupportedException

See Also​

Reference​

Bitmap Class
CopyPixels Overload
Avalonia.Media.Imaging Namespace