SKGraphiteImageCache.FindOrCreate Method
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.
Returns the cached Graphite-backed texture for the specified image, uploading and caching it on the recorder if it is not already present.
public SkiaSharp.SKImage FindOrCreate(SkiaSharp.SKGraphiteRecorder recorder, SkiaSharp.SKImage image, bool mipmapped);
Parameters
- recorder
- SKGraphiteRecorder
The recorder to upload the image to on a cache miss.
- image
- SKImage
The source image to find or upload.
- mipmapped
- Boolean
true to create the texture with mipmaps; otherwise, false.
Returns
A Graphite-backed image, or null if the image could not be uploaded.