Edit

SKGraphiteFindOrCreateImageDelegate Delegate

Definition

Represents the method that returns a Graphite-backed image for the specified source image, uploading it to the recorder if it has not been cached yet.

public delegate SkiaSharp.SKImage SKGraphiteFindOrCreateImageDelegate(SKGraphiteRecorder recorder, SKImage image, bool mipmapped);

Parameters

recorder
SKGraphiteRecorder

The recorder that the returned image is created for.

image
SKImage

The source image to find or upload.

mipmapped
Boolean

true to create the texture with mipmaps; otherwise, false.

Return Value

A Graphite-backed image for the source image, or null if one could not be created.

Applies to