Skip to main content

GetShapeXmaCurrentInputBuffer

Gets the current input buffer.

Syntax

Parameters

context   _In_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT object.

Return value

Type: UINT32 The current input buffer. 0 specifies the left buffer, and 1 specifies the right buffer.

Remarks

To get a pointer to the left input buffer, use GetShapeXmaInputBuffer0. To get a pointer to the right input buffer, use GetShapeXmaInputBuffer1. To set the current input buffer, use SetShapeXmaCurrentInputBuffer. 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