Skip to main content

ShapeSignedFromU16_8

Combines a 16-bit integer and an 8-bit integer into a 32-bit integer.

Syntax

Parameters

highU16   
Type: UINT32
An unsigned 16-bit integer. lowU8   
Type: UINT32
An unsigned 8-bit integer.

Return value

Type: INT32 A signed 32-bit integer, with the 16-bit integer in the upper bits and the 8-bit integer in the lower bits.

Remarks

This function places the specified 16-bit integer in the upper bits and the specified 8-bit integer in the lower bits. To place the 8-bit integer in the upper bits and the 16-bit integer in the lower bits, use ShapeSignedFromU8_16. To change an unsigned 24-bit integer into a signed 32-bit integer, use ShapeSignedFromU24.

Requirements

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

See also

ShapeEqCompContext
Last modified on August 20, 2026