Skip to main content

ShapeSignedToU16

Takes a signed 32-bit integer and returns the value in the upper 16 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 16 bits.

Remarks

This function changes a signed 32-bit integer into an unsigned 32-bit integer, with the original value in the upper 16 bits. To place the original value in the lower 16 bits, use ShapeSignedToLowU16. ShapeSignedToU16 is functionally equivalent to ShapeSignedToHighU16.

Requirements

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

See also

ShapeEqCompContext
Last modified on August 20, 2026