GPU/Commands: Difference between revisions

No edit summary
Line 60: Line 60:
|-
|-
| 0x000F02C0
| 0x000F02C0
| <nowiki>0x80000000 | CoordinateType</nowiki>
| <nowiki>0x80000000 | Type</nowiki>
| This is used immediately before CmdID 0xXXXF02C1. This type field controls the command parameter buffer type.
| This is used immediately before CmdID 0xXXXF02C1. This type field controls the command parameter buffer type.
|-
|-
| 0xXXXF02C1
| 0xXXXF02C1
| First word in the first coordinate entry
| First word in the first entry
| A list of coordinate entries follow this command.
| A list of entries follow this command.
|}
|}


=== Coordinate Entry ===
=== Entries for CmdID 0xXXXF02C1 ===
{| class="wikitable" border="1"
{| class="wikitable" border="1"
!  Index Word
!  Index Word
Line 74: Line 74:
|-
|-
| 0
| 0
| float X coordinate
| float
|-
|-
| 1
| 1
| float Y coordinate
| float
|-
|-
| 2
| 2
| float Z coordinate
| float
|}
|}


=== Coordinate Types ===
=== Types for CmdID 0x000F02C0 ===
{| class="wikitable" border="1"
{| class="wikitable" border="1"
!  Value
!  Value
Line 99: Line 99:
| 0x08
| 0x08
| 2
| 2
| Sets the color for this object.
| Sets the color.
|-
|-
| 0x0A
| 0x0A