Class SKTexture
Represents a SkiaSharp-based RGB.NET PixelTexture
public sealed class SKTexture : ITexture, IDisposable
- Inheritance
-
objectSKTexture
- Implements
-
ITexture
Properties
ImageInfo
Gets the image info used to create the Surface
public SKImageInfo ImageInfo { get; }
Property Value
IsInvalid
Gets a boolean indicating whether Invalidate() has been called on this texture, indicating it should be replaced
public bool IsInvalid { get; }
Property Value
this[Point]
public Color this[Point point] { get; }
Parameters
pointPoint
Property Value
- Color
this[Rectangle]
public Color this[Rectangle rectangle] { get; }
Parameters
rectangleRectangle
Property Value
- Color
RenderScale
Gets the render scale of the texture
public float RenderScale { get; }
Property Value
Size
public Size Size { get; }
Property Value
- Size
Surface
Gets the SKBitmap backing this texture
public SKSurface Surface { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
~SKTexture()
protected ~SKTexture()
Invalidate()
Invalidates the texture
public void Invalidate()