nn::gx::CTR::UpdateBuffer Function
void UpdateBuffer(
const void * pBuffer,
size_t size
);
| Name | Description | |
|---|---|---|
| in | pBuffer | Pointer to the start of the buffer. |
| in | size | Buffer size. |
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.
CONFIDENTIAL