- Volition VPP: Unified BE/LE types using inheritance pattern - THQA PAK: Child types now inherit byte order from parent - Various XScript definition updates and fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
449 B
Plaintext
18 lines
449 B
Plaintext
type materialvertexshader ui("Material Vertex Shader")
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
i32 shader_name_ptr ui("Shader Name Ptr");
|
|
|
|
// Vertex shader program (parse header first)
|
|
program = parse_here("materialvertexshaderprogram");
|
|
|
|
// Inline data
|
|
if (shader_name_ptr == PTR_INLINE) {
|
|
shader_name = cstring() ui("Shader Name");
|
|
set_name(shader_name);
|
|
}
|
|
|
|
// Note: LoadDef program data parsing happens in materialvertexshaderprogram
|
|
}
|