Texture State/Xbox 360: Difference between revisions
Content added Content deleted
(Initial SamplerState struct definition. Need to debug it to determine what the fields are.) |
mNo edit summary |
||
Line 59: | Line 59: | ||
| 0x1B || 0x1 || || || Padding || |
| 0x1B || 0x1 || || || Padding || |
||
|- |
|- |
||
| 0x1C || 0x4 || uint32_t || ? || || |
| 0x1C || 0x4 || uint32_t || ? || End marker? || 0x01000000 in samples |
||
|} |
|} |
Latest revision as of 11:06, 24 September 2023
Structures
renderengine::TextureState
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x20 | SamplerState | Base class | ||
0x20 | 0x4 | Texture | texture | Texture | Imported resource |
renderengine::SamplerState
To do: Identify fields. Might be able to use D3DDevice_GetSamplerState_* and D3DDevice_SetSamplerState_*. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | float | MipMapLodBias | Mipmap LOD Bias | |
0x4 | 0x4 | ? | ? | 0 in samples | |
0x8 | 0x1 | ? | ? | 0 in samples | |
0x9 | 0x1 | ? | ? | 0 in samples | |
0xA | 0x1 | ? | ? | 0 in samples | |
0xB | 0x1 | ? | ? | 0 in samples | |
0xC | 0x1 | ? | ? | 1 in samples | |
0xD | 0x1 | ? | ? | 0 in samples | |
0xE | 0x1 | ? | ? | 0 in samples | |
0xF | 0x1 | ? | ? | 0 in samples | |
0x10 | 0x1 | ? | ? | 0 in samples | |
0x11 | 0x1 | ? | ? | 0 in samples | |
0x12 | 0x1 | ? | ? | 1 in samples | |
0x13 | 0x1 | ? | ? | 0 in samples | |
0x14 | 0x1 | ? | ? | 1 in samples | |
0x15 | 0x1 | ? | ? | 0 in samples | |
0x16 | 0x1 | ? | ? | 0 in samples | |
0x17 | 0x1 | ? | ? | 1 in samples | |
0x18 | 0x1 | ? | ? | 0 in samples | |
0x19 | 0x1 | ? | ? | Max mip level? | 13 in samples |
0x1A | 0x1 | ? | ? | 1 in samples | |
0x1B | 0x1 | Padding | |||
0x1C | 0x4 | uint32_t | ? | End marker? | 0x01000000 in samples |