BitmapCopyPixels(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) Version: 11.3.999
public void CopyPixels(
	ILockedFramebuffer buffer,
	AlphaFormat alphaFormat
)

Parameters

buffer  ILockedFramebuffer
The target buffer.
alphaFormat  AlphaFormat
The alpha format.

Exceptions

See Also