Shader Parameter
RwShaderParameter | |||
---|---|---|---|
aka ShaderParameter | |||
Type ID | 0x14 | ||
Category | Generic | ||
Memory distribution |
Main Memory only | ||
Imported by | Material Technique | ||
Editor available? |
No |
Shader parameters are used in Black 2 (2006-06-29 build). Their purpose is unclear and the type was deprecated by the time Burnout 5 (2006-11-13 build) was built.
Structures
Header
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | Entry info* | ? | Entry info | |
0x4 | 0x4 | float* | ? | Data | |
0x8 | 0x4 | uint32_t | ? | Data count |
Entry info
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | ? | Number of entries | |
0x4 | 0x4 | uint32_t | ? | Data count | Same as header data count |
0x8 | 0x4 | Entry | ? | Entries |
Entry
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | ? | ? | Always null | |
0x4 | 0x4 | char* | ? | Name | |
0x8 | 0x4 | uint32_t | ? | Name CRC32 hash | |
0xC | 0x4 | char* | ? | Type name | Includes: INSTANCE MATERIAL LIGHTD |
0x10 | 0x4 | uint32_t | ? | Type name CRC32 hash | |
0x14 | 0x4 | ? | ? | Always null | |
0x18 | 0x2 | uint16_t | ? | Always 1 | |
0x1A | 0x1 | uint8_t | ? | Data count | Subset of data pointed to in header Sequential—if first entry uses 10, second starts at 11th, and so on |
0x1B | 0x1 | ? | ? | Padding | Always null |