GPU/Commands: Difference between revisions

No edit summary
Line 179: Line 179:
| 0x000F0104
| 0x000F0104
| u32
| u32
| glAlphaFunc()?
| glAlphaFunc()
|-
|-
| 0x00010107
| 0x00010107
Line 327: Line 327:
|}
|}


This is usually the last command set used for rendering a mesh. This command set is used immediately after command set 0x000500E0.
This is usually the last command set used for rendering a mesh, when command set 0x000500E0 was used. This command set is used immediately after command set 0x000500E0.


===== CmdID 0x00020100 =====
===== CmdID 0x00020100 =====
Line 475: Line 475:
|}
|}


This command set is used for disabling the alpha-testing info set by command set 0x00010107? The GL AlphaFunction used here is normally GL_ALWAYS.
This command set is used for disabling the alpha-blending info set by command set 0x00010107? The GL AlphaFunction used here is normally GL_ALWAYS.


===== CmdID 0x00010107 =====
===== CmdID 0x00010107 =====
Line 506: Line 506:
|-
|-
| 0
| 0
| 0 = disable GL_ALPHA_TEST, 1 = enable GL_ALPHA_TEST?
| 0 = disable GL_ALPHA_TEST, 1 = enable GL_ALPHA_TEST
|-
|-
| 3-1
| 3-1
Line 578: Line 578:
|-
|-
| 0
| 0
| 0 = disable GL_ALPHA_TEST, 1 = enable GL_ALPHA_TEST?
| 0 = disable GL_ALPHA_TEST, 1 = enable GL_ALPHA_TEST
|-
|-
| 3-1
| 3-1
Line 587: Line 587:
|-
|-
| 15-8
| 15-8
| u8 ref, range is 0-255?
| u8 ref, range is 0-255
|-
|-
| 31-16
| 31-16
Line 593: Line 593:
|}
|}


This is glAlphaFunc()?
This is glAlphaFunc().


=== Parameter value format for CmdID 0x000F011E ===
=== Parameter value format for CmdID 0x000F011E ===