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