This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
f3dex [2019/05/13 07:55] shygoo [ED: G_SETSCISSOR] correct mode field position |
f3dex [2024/02/27 04:57] (current) BanjoFreak64 [F2: G_SETTILESIZE] |
||
---|---|---|---|
Line 581: | Line 581: | ||
Sets the texture coordinates and size | Sets the texture coordinates and size | ||
- | ''F2 00 00 00 00 [<color darkred>WW W</color>][<color darkgreen>H HH</color>]'' | + | ''F2 [<color darkred>SS S</color>][<color darkgreen>T TT</color>] 0[<color #00a2e8>I</color>] [<color purple>WW W</color>][<color darkcyan>H HH</color>]'' |
+ | |||
+ | | <color darkred>SSS</color> | Upper-left corner of texture to load, S-axis | | ||
+ | | <color darkgreen>TTT</color> | Upper-left corner of texture to load, T-axis | | ||
+ | | <color #00a2e8>I</color> | Tile descriptor to load into | | ||
+ | | <color purple>W</color> | (width - 1) << 2 | | ||
+ | | <color darkcyan>H</color> | (height - 1) << 2 | | ||
- | | <color darkred>W</color> | (width - 1) << 2 | | ||
- | | <color darkgreen>H</color> | (height - 1) << 2 | | ||
Examples: | Examples: |