Skip to main content

SetShapeXmaInputBuffer1Size

Sets the size of the right input buffer.

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT structure. size   
Type: UINT32
The size of the right 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 left input buffer, use SetShapeXmaInputBuffer0Size. To get the size of the right input buffer, use GetShapeXmaInputBuffer1Size. 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