nn::gx::CTR::UpdateBuffer Function

Syntax

void UpdateBuffer(
     const void * pBuffer,
     size_t size
);

Arguments

Name Description
in pBuffer Pointer to the start of the buffer.
in size Buffer size.

Return Values

None.

Description

Applies to the graphics processor the updates that have been made to the contents of the vertex buffer and texture buffer in main memory.

Specifically speaking, internal processing consists of flushing the cache, but Nintendo does not support using this function as a generic means of flushing the cache.

Only use this function to reflect CPU changes to the vertex and texture buffers in the GPU.

Revision History

2010/10/25
Initial version.

CONFIDENTIAL