GsSetDrawBuffOffset

Sets the drawing offset

void GsSetDrawBuffOffset (
        void
)

Arguments

None.

Return Value

None.

Explanation

Updates the drawing offset using the value defined in the global variable POSITION.
The drawing offset is used for double buffer swapping, can be managed by the GTE or the GPU and is a relative offset within the double buffer.
The offset value is preserved even when double buffers are swapped.
The third argument of GsInitGraph() determines whether the offset is managed by the GTE or the GPU.

Notes

This function does not execute correctly if it is called when GPU drawing is in progress.
ResetGraph(1) should be used to terminate any current drawing process or DrawSync(0) should be used to wait until drawing is completed before this function is called.

See Also

GsSetOrign(), GsSetOffset(), POSITION