Skip to main content

SetShapeXmaInputBuffer0Size

Sets the size of the left input buffer.

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT object. size   
Type: UINT32
The size of the left input buffer. Must be a multiple of 2048 bytes and no larger than SHAPE_XMA_MAX_INPUT_BUFFER_SIZE.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

To set the size of the right input buffer, use SetShapeXmaInputBuffer1Size. To get the size of the left input buffer, use GetShapeXmaInputBuffer0Size. 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