SKGraphiteFindOrCreateImageDelegate Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.