XPlor/definitions/cod/materialvertexshader.xscript

16 lines
440 B
Plaintext
Raw Normal View History

2026-01-01 22:18:40 -05:00
type materialvertexshader [display="Material Vertex Shader"]
{
const PTR_INLINE = -1;
i32 shader_name_ptr;
ui("shader_name_ptr", "Shader Name Ptr");
2026-01-01 22:18:40 -05:00
// Vertex shader program (parse header first)
program = parse_here("materialvertexshaderprogram");
// Inline data
inline cstring shader_name when shader_name_ptr [ui="Shader Name", set_name];
2026-01-01 22:18:40 -05:00
// Note: LoadDef program data parsing happens in materialvertexshaderprogram
2026-01-01 22:18:40 -05:00
}