shader
rmsh
- Fields
- 53
- Structs
- 19
- Shipped tags
- 29
- Root size
- 76 B
- Version
- 1
18 structs
- shader_struct_definition
- render_method_struct_definition
- short_block
- render_method_postprocess_block
- real_vector4d_block
- int_block
- tag_block_index_block
- tag_block_index_struct
- render_method_postprocess_pass_block
- render_method_animated_parameter_block
- mapping_function
- runtime_queryable_properties
- g_null_block
- constant_buffer_resource_definition_struct
- constant_buffers_block
- constant_buffer_descriptor_struct
- constant_buffer_indices_block
- render_method_locked_parameter_block
shader_struct_definition
Root2 fields · 76 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 72 | render_method | struct |
| 72 | 4 | material name | string id |
render_method_struct_definition
11 fields · 72 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 16 | reference | tag reference |
| 16 | 12 | optionsblock short_block · max 1024 | block |
| 28 | 12 | postprocessblock render_method_postprocess_block · max 1 | block |
| 40 | 4 | is template | long integer |
| 44 | 4 | locked options
| long flags |
| 48 | 12 | locked parametersblock render_method_locked_parameter_block · max 32 | block |
| 60 | 2 | shader flags
| word flags |
| 62 | 1 | sort layer
| char enum |
| 63 | 1 | version | char integer |
| 64 | 4 | Custom fog setting index | long integer |
| 68 | 4 | prediction atom index | long block index |
short_block
3 fields · 12 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 4 | parameter name | string id |
| 4 | 4 | parameter type
| long enum |
| 8 | 4 | animated parameter flags | dword integer |
render_method_postprocess_block
12 fields · 208 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 12 | real vectorsblock real_vector4d_block · max 1024 | block |
| 12 | 12 | int constantsblock int_block · max 1024 | block |
| 24 | 4 | bool constants | long integer |
| 28 | 12 | entry pointsblock tag_block_index_block · max 1024 | block |
| 40 | 12 | passesblock render_method_postprocess_pass_block · max 1024 | block |
| 52 | 12 | routing infoblock render_method_routing_info_block · max 768 | block |
| 64 | 12 | overlaysblock render_method_animated_parameter_block · max 1024 | block |
| 76 | 4 | blend mode | long integer |
| 80 | 4 | flags | long integer |
| 84 | 4 | im_so_fired_pad | long integer |
| 88 | 112 | runtime queryable properties table | array [28] |
| 200 | 8 | constant buffer resource | pageable resource |
real_vector4d_block
2 fields · 24 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 12 | constant buffersblock constant_buffers_block · max 2147483647 | block |
| 12 | 12 | constant buffer indicesblock constant_buffer_indices_block · max 2147483647 | block |
int_block
2 fields · 4 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 2 | vertex | word integer |
| 2 | 2 | pixel | word integer |
tag_block_index_block
1 fields · 12 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 12 | constant buffer interop | api interop |
tag_block_index_struct
1 fields · 20 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 20 | constant data | data |
render_method_postprocess_pass_block
1 fields · 2 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 2 | index | short block index |
render_method_animated_parameter_block
5 fields · 36 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 4 | type
| long enum |
| 4 | 4 | input name | string id |
| 8 | 4 | range name | string id |
| 12 | 4 | time period | real |
| 16 | 20 | function | struct |
mapping_function
1 fields · 20 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 20 | data | data |
runtime_queryable_properties
3 fields · 4 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 2 | destination index | word integer |
| 2 | 1 | source index | byte integer |
| 3 | 1 | type specific | byte integer |
g_null_block
3 fields · 6 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 2 | bitmaps | word integer |
| 2 | 2 | vertex real | word integer |
| 4 | 2 | pixel real | word integer |
constant_buffer_resource_definition_struct
1 fields · 20 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 20 | block index | struct |
constant_buffers_block
1 fields · 2 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 2 | block index data | word integer |
constant_buffer_descriptor_struct
1 fields · 4 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 4 | int value | long integer |
constant_buffer_indices_block
2 fields · 16 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 12 | vector | real vector 3d |
| 12 | 4 | vector w | real |
render_method_locked_parameter_block
1 fields · 2 B| Offset | Size | Field | Type |
|---|---|---|---|
| 0 | 2 | short | short integer |
Generated from the shipped game data, which carries its own tag definitions. Schema only: field names, types, offsets, and option names are published; tag values are not. See Self-describing tag layout for how this is extracted.