Synced
UiTextureData.Constructor
Section titled “UiTextureData.Constructor”
- Creates a validated immutable texture.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.UI
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.UI.UiTextureData.UiTextureData(int width, int height, System.ReadOnlySpan<byte> pixels)Parameters
Section titled “Parameters”Parameter width: The positive texture width.
Parameter height: The positive texture height.
Parameter pixels: Tightly packed RGBA8 pixels.