This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
f3dex2 [2019/03/22 17:04] Redetzky [04: G_BRANCH_Z] |
f3dex2 [2019/05/13 09:28] trenavix Clarifying inverted bits in geomode for EX2 |
||
---|---|---|---|
Line 116: | Line 116: | ||
Example: Render a triangle using the vertex data specified at the vertex buffer positions 0, 1 (0x02 / 0x02) and 2 (0x04 / 0x02). | Example: Render a triangle using the vertex data specified at the vertex buffer positions 0, 1 (0x02 / 0x02) and 2 (0x04 / 0x02). | ||
- | 05 00 02 04 00 00 02 04 | + | 05 00 02 04 00 00 00 00 |
---- | ---- | ||
Line 232: | Line 232: | ||
''D9 [<color #22b14c>CC CC CC</color>] [<color purple>SS SS SS SS</color>]'' | ''D9 [<color #22b14c>CC CC CC</color>] [<color purple>SS SS SS SS</color>]'' | ||
- | | <color #22b14c>C</color> | Various parameters to clear | | + | | <color #22b14c>C</color> | ~(Various parameters to clear) | |
| <color purple>S</color> | Various parameters to set | | | <color purple>S</color> | Various parameters to set | | ||
+ | |||
+ | Note: Parameters that are cleared have their bits inverted in the opcode. FF FF FF, for example, would disable nothing. | ||
Parameters:\\ | Parameters:\\ | ||
Line 535: | Line 537: | ||
Sets the scissoring rectangle. | Sets the scissoring rectangle. | ||
- | ''ED [<color #00a2e8>xx x</color>][<color #22b14c>y yy</color>] [<color #ff7f27>m</color>]0 [<color #ed1c24>vv v</color>][<color #B755FF>w ww</color>]'' | + | ''ED [<color #00a2e8>xx x</color>][<color #22b14c>y yy</color>] 0[<color #ff7f27>m</color>] [<color #ed1c24>vv v</color>][<color #B755FF>w ww</color>]'' |
| <color #00a2e8>x</color> | Upper-left X coordinate of rectangle | | | <color #00a2e8>x</color> | Upper-left X coordinate of rectangle | |