Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Packs normalized channels into the existing unsigned 0xAABBGGRR representation.

API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime

public uint InnoEngine.Mathematics.Color.ToUInt32ARGB()

Alpha in bits 24-31, blue in 16-23, green in 8-15 and red in 0-7.

Despite this member’s name, the current numeric layout is ABGR. It yields RGBA bytes on a little-endian host. Channels must already be finite and normalized; no color-space conversion or premultiplication is performed.