By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
| This command is immediately before CmdID 0x000F0010, this is also used elsewhere for beginning rendering of object(s) as well.
+
| 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.