Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates a validated immutable texture.

API: scripting
Project: Inno.UI
Scope: Runtime

public InnoEngine.UI.UiTextureData.UiTextureData(int width, int height, System.ReadOnlySpan<byte> pixels)

Parameter width: The positive texture width.

Parameter height: The positive texture height.

Parameter pixels: Tightly packed RGBA8 pixels.