Skip to main content

ShapeSignedFromU8_16

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

Syntax

Parameters

highU8   
Type: UINT32
An unsigned 8-bit integer. lowU16   
Type: UINT32
An unsigned 16-bit integer.

Return value

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

Remarks

This function places the specified 8-bit integer in the upper bits and the specified 16-bit integer in the lower bits. To place the 16-bit integer in the upper bits and the 8-bit integer in the lower bits, use ShapeSignedFromU16_8. 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