GXTexModeSync

Syntax

#include <revolution/gx.h>

void GXTexModeSync( void );

Arguments

None.

Return Values

None.

Description

This function will insert a synchronization command into the graphics FIFO. When the graphics processor receives this command, it will allow the texture pipeline to flush before continuing. This command is necessary when changing regions of texture memory usage from preloaded or TLUT to cached areas. It makes sure that the texture pipeline is finished with that area of the texture memory prior to changing its usage. GXTexModeSync should be called prior to rendering any primitives that use the texture memory region in its new mode. This command does not need to be called when change the texture memory region from cache to preload (or TLUT). This is because the command that reads in the data and the region automatically performs the necessary synchronization.

See Also

GXInitTexCacheRegion, GXInitTexPreLoadRegion, GXInitTlutRegion, GXPixModeSync

Revision History

2006/03/01 Initial version.


CONFIDENTIAL