Interface ITexture

Namespace
Elegy.AssetSystem.Interfaces.Rendering
Assembly
Elegy.AssetSystem.dll
public interface ITexture

Properties

Depth

int Depth { get; }

Property Value

int

Height

int Height { get; }

Property Value

int

Width

int Width { get; }

Property Value

int

Methods

ReadPixels()

Span<byte> ReadPixels()

Returns

Span<byte>

UpdatePixels(Span<byte>)

void UpdatePixels(Span<byte> newPixels)

Parameters

newPixels Span<byte>