Skip to main content

SetShapeXmaOutputBufferSize

Sets the size of the output buffer.

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT object. size   
Type: UINT32
The size, in bytes, of the output buffer. Must be a multiple of 256.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

To get the size of the output buffer, use GetShapeXmaOutputBufferSize. To set the sizes of the input buffers, use SetShapeXmaInputBuffer0Size and SetShapeXmaInputBuffer1Size. 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