Skip to main content

SetShapeXmaOutputBufferReadOffset

Sets the read offset of the output buffer.

Syntax

Parameters

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

Return value

Type: HRESULT HRESULT success or error code.

Remarks

To get the read offset of the output buffer, use GetShapeXmaOutputBufferReadOffset. To set the read offset of the current input buffer, use SetShapeXmaInputBufferReadOffset. 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