Skip to main content

ShapeSignedToU24

Takes a signed 32-bit integer and returns the value in the upper 24 bits of an unsigned 32-bit integer.

Syntax

Parameters

value   
Type: INT32
A signed 32-bit integer.

Return value

Type: UINT32 An unsigned 32-bit integer, with the input value in the upper 24 bits.

Requirements

Header: shapeeqcompcontext.h Supported platforms: XBOX One family consoles and XBOX Series consoles

Remarks

This function changes a signed 32-bit integer into an unsigned 32-bit integer, with the original value in the upper 24 bits. To change an unsigned 24-bit integer into a signed 32-bit integer, use ShapeSignedFromU24. To change an unsigned 32-bit integer into an unsigned 24-bit integer, use ShapeUnsignedToU24.

See also

ShapeEqCompContext
Last modified on August 20, 2026