GPU/Commands: Difference between revisions
No edit summary |
|||
Line 31: | Line 31: | ||
| 0x000F0110 | | 0x000F0110 | ||
| Value 0x1 | | Value 0x1 | ||
| This command is immediately before CmdID 0x000F0010, this is also used elsewhere for beginning rendering of | | This command is immediately before CmdID 0x000F0010, this is also used elsewhere for beginning rendering of mesh(es) as well. | ||
|- | |- | ||
| 0x000F0111 | | 0x000F0111 | ||
Line 166: | Line 166: | ||
===== glDrawElements() ===== | ===== glDrawElements() ===== | ||
See [[GPU_GL_Arrays|GPU GL Arrays]]. | See [[GPU_GL_Arrays|GPU GL Arrays]]. | ||
===== glClear() / glClearColor() ===== | |||
The GPU does not have dedicated commands for clearing the color buffer, therefore applications implement color buffer clearing by rendering a quad. Applications normally store this vertex and color [[GPU_GL_Arrays|array]] in the GSP application heap. | |||
===== CmdID 0x809F0081 ===== | ===== CmdID 0x809F0081 ===== |