Table of Contents

Class SKTexture

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a SkiaSharp-based RGB.NET PixelTexture

public sealed class SKTexture : ITexture, IDisposable
Inheritance
object
SKTexture
Implements
ITexture

Properties

ImageInfo

Gets the image info used to create the Surface

public SKImageInfo ImageInfo { get; }

Property Value

SKImageInfo

IsInvalid

Gets a boolean indicating whether Invalidate() has been called on this texture, indicating it should be replaced

public bool IsInvalid { get; }

Property Value

bool

this[Point]

public Color this[Point point] { get; }

Parameters

point Point

Property Value

Color

this[Rectangle]

public Color this[Rectangle rectangle] { get; }

Parameters

rectangle Rectangle

Property Value

Color

RenderScale

Gets the render scale of the texture

public float RenderScale { get; }

Property Value

float

Size

public Size Size { get; }

Property Value

Size

Surface

Gets the SKBitmap backing this texture

public SKSurface Surface { get; }

Property Value

SKSurface

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()