Skip to main content

SetShapeXmaNumSubframesToDecode

Sets the number of subframes to decode per pass.

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT object. numSubframes   
Type: UINT32
Number of subframes to decode. Valid values are 1, 2, 4, and 8.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

To get the current number of subframes to decode during each pass, use GetShapeXmaNumSubframesToDecode. To set the number of subframes to skip, use SetShapeXmaNumSubframesToSkip. For more information, see the XMA section of Overview of SHAPE.

Requirements

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

See also

ShapeXmaContext
Last modified on August 20, 2026