Synced
Color.ToUInt32ARGB
Section titled “Color.ToUInt32ARGB”
- Packs normalized channels into the existing unsigned 0xAABBGGRR representation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public uint InnoEngine.Mathematics.Color.ToUInt32ARGB()Returns
Section titled “Returns”Alpha in bits 24-31, blue in 16-23, green in 8-15 and red in 0-7.
Remarks
Section titled “Remarks”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.