Skip to main content

GetShapeXmaOutputBufferNumBytesAvailable

Gets the number of bytes available for reading from the output buffer.

Syntax

Parameters

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

Return value

Type: UINT32 Number of bytes available for reading.

Remarks

To get the number of frames available for reading, use GetShapeXmaOutputBufferNumFramesAvailable. To get the current read offset of the output buffer, use GetShapeXmaOutputBufferReadOffset. 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