Texture/Xbox 360: Difference between revisions

Content added Content deleted
(Describe field order inversion, add D3DResource, and update D3DBaseTexture.)
m (Move Common)
Line 32: Line 32:
|-
|-
| 0x1C || 0x18 || [[#GPUTEXTURE_FETCH_CONSTANT|GPUTEXTURE_FETCH_CONSTANT]] || Format || ||
| 0x1C || 0x18 || [[#GPUTEXTURE_FETCH_CONSTANT|GPUTEXTURE_FETCH_CONSTANT]] || Format || ||
|}

=== Common ===
Based on [https://github.com/indirivacua/RAGE-Console-Texture-Editor/blob/5f2d00c3f22b0b3754d99663003a68d4ac214f01/Console.Xbox360.Graphics.pas#L31 information from indirivacua].

{| class="wikitable"
! Offset (bits) !! Length (bits) !! Name !! Description !! Comments
|-
| 0 || 28 || Flags || D3D resource flags ||
|-
| 28 || 4 || Type || D3D resource type || See [[#D3DRESOURCETYPE|D3DRESOURCETYPE]]
|}
|}


Line 144: Line 133:
|-
|-
| 190 || 2 || BorderColor || || See [[#GPUBORDERCOLOR|GPUBORDERCOLOR]]
| 190 || 2 || BorderColor || || See [[#GPUBORDERCOLOR|GPUBORDERCOLOR]]
|}

=== Common ===
Based on [https://github.com/indirivacua/RAGE-Console-Texture-Editor/blob/5f2d00c3f22b0b3754d99663003a68d4ac214f01/Console.Xbox360.Graphics.pas#L31 information from indirivacua].

{| class="wikitable"
! Offset (bits) !! Length (bits) !! Name !! Description !! Comments
|-
| 0 || 28 || Flags || D3D resource flags ||
|-
| 28 || 4 || Type || D3D resource type || See [[#D3DRESOURCETYPE|D3DRESOURCETYPE]]
|}
|}