Changes

1,962 bytes removed ,  09:15, 5 December 2015
m
Line 1: Line 1:  
This page describes the [[GPU/Internal_Registers|GPU commands]] used for OpenGL arrays.
 
This page describes the [[GPU/Internal_Registers|GPU commands]] used for OpenGL arrays.
   βˆ’
== Command Sets ==
+
Merged into [[GPU/Programming_Guide]].
βˆ’
 
  βˆ’
=== glDrawElements() ===
  βˆ’
{| class="wikitable" border="1"
  βˆ’
!  Command Index
  βˆ’
!  Register
  βˆ’
!  Description
  βˆ’
|-
  βˆ’
| 0
  βˆ’
| [[GPU/Internal_Registers#GPUREG_GEOSTAGE_CONFIG|GPUREG_GEOSTAGE_CONFIG]]
  βˆ’
| Set whether drawing triangle elements
  βˆ’
|-
  βˆ’
| 1-2
  βˆ’
| [[GPU/Internal_Registers#GPUREG_GEOSTAGE_CONFIG2|GPUREG_GEOSTAGE_CONFIG2]]
  βˆ’
| Set whether drawing triangle elements
  βˆ’
|-
  βˆ’
| 3
  βˆ’
| [[GPU/Internal_Registers#GPUREG_PRIMITIVE_CONFIG|GPUREG_PRIMITIVE_CONFIG]]
  βˆ’
| Set primitive mode
  βˆ’
|-
  βˆ’
| 4
  βˆ’
| [[GPU/Internal_Registers#GPUREG_PRIMITIVE_CONFIG|GPUREG_PRIMITIVE_CONFIG]]
  βˆ’
| Set number of output map registers
  βˆ’
|-
  βˆ’
| 5
  βˆ’
| [[GPU/Internal_Registers#GPUREG_RESTART_PRIMITIVE|GPUREG_RESTART_PRIMITIVE]]
  βˆ’
| Trigger reset
  βˆ’
|-
  βˆ’
| 6
  βˆ’
| [[GPU/Internal_Registers#GPUREG_GEOSTAGE_CONFIG2|GPUREG_GEOSTAGE_CONFIG2]]
  βˆ’
| Set function indicator to 0
  βˆ’
|-
  βˆ’
| 7
  βˆ’
| [[GPU/Internal_Registers#GPUREG_INDEXBUFFER_CONFIG|GPUREG_INDEXBUFFER_CONFIG]]
  βˆ’
| Set offset and type
  βˆ’
|-
  βˆ’
| 8
  βˆ’
| [[GPU/Internal_Registers#GPUREG_NUMVERTICES|GPUREG_NUMVERTICES]]
  βˆ’
| Set vertex count
  βˆ’
|-
  βˆ’
| 9
  βˆ’
| [[GPU/Internal_Registers#GPUREG_START_DRAW_FUNC0|GPUREG_START_DRAW_FUNC0]]
  βˆ’
| Set mode to drawing
  βˆ’
|-
  βˆ’
| 10
  βˆ’
| [[GPU/Internal_Registers#GPUREG_DRAWELEMENTS|GPUREG_DRAWELEMENTS]]
  βˆ’
| Trigger draw
  βˆ’
|-
  βˆ’
| 11
  βˆ’
| [[GPU/Internal_Registers#GPUREG_START_DRAW_FUNC0|GPUREG_START_DRAW_FUNC0]]
  βˆ’
| Set mode to configuration
  βˆ’
|-
  βˆ’
| 12
  βˆ’
| [[GPU/Internal_Registers#GPUREG_VTX_FUNC|GPUREG_VTX_FUNC]]
  βˆ’
| Trigger post-vertex cache clear
  βˆ’
|-
  βˆ’
| 13
  βˆ’
| [[GPU/Internal_Registers#GPUREG_FRAMEBUFFER_FLUSH|GPUREG_FRAMEBUFFER_FLUSH]]
  βˆ’
| Flush framebuffer
  βˆ’
|-
  βˆ’
| 14
  βˆ’
| [[GPU/Internal_Registers#GPUREG_GEOSTAGE_CONFIG|GPUREG_GEOSTAGE_CONFIG]]
  βˆ’
| Clear drawing triangle elements
  βˆ’
|-
  βˆ’
| 15
  βˆ’
| [[GPU/Internal_Registers#GPUREG_GEOSTAGE_CONFIG2|GPUREG_GEOSTAGE_CONFIG2]]
  βˆ’
| Clear drawing triangle elements
  βˆ’
|-
  βˆ’
| 16
  βˆ’
| [[GPU/Internal_Registers#GPUREG_PRIMITIVE_CONFIG|GPUREG_PRIMITIVE_CONFIG]]
  βˆ’
| Clear primitive mode
  βˆ’
|-
  βˆ’
| 17
  βˆ’
| [[GPU/Internal_Registers#GPUREG_VSH_ENTRYPOINT|GPUREG_VSH_ENTRYPOINT]]
  βˆ’
| Clear entry point
  βˆ’
|}
  βˆ’
 
  βˆ’
[[Category:GPU]]
 
1,434

edits