Synced
UiTextureData.Constructor
Section titled “UiTextureData.Constructor”
- Creates a validated immutable texture.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.UI
Declaration
Section titled “Declaration”public Inno.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.