Skip to main content

GetShapeXmaOutputBufferWriteOffset

Gets the write offset of the output buffer.

Syntax

Parameters

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

Return value

Type: UINT32 The offset, in bytes, from the beginning of the output buffer.

Remarks

To get the read offset of the output buffer, use GetShapeXmaOutputBufferReadOffset. To get the address of the output buffer, use GetShapeXmaOutputBuffer. 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