14 halp_meta(name,
"Geometry Info")
15 halp_meta(category,
"Visuals/3D")
16 halp_meta(c_name,
"geometry_info")
17 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/geometry-info.html")
18 halp_meta(uuid,
"c4deb797-8d5f-4ffb-b25b-b541f5c54099")
24 halp_meta(name,
"Geometry");
25 halp::dynamic_gpu_geometry
mesh;
26 float transform[16]{};
27 bool dirty_mesh =
false;
28 bool dirty_transform =
false;
34 halp::val_port<
"Vertices",
int> vertices;
35 halp::val_port<
"Indices",
int> indices;
36 halp::val_port<
"Instances",
int> instances;
39 halp::val_port<
"Attributes", std::vector<halp::geometry_attribute>> attributes;
40 halp::val_port<
"Bindings", std::vector<halp::geometry_binding>> bindings;
41 halp::val_port<
"Inputs", std::vector<halp::geometry_input>> inputs;
46 outputs.vertices.value = inputs.geometry.mesh.vertices;
47 outputs.indices.value = inputs.geometry.mesh.indices;
48 outputs.instances.value = inputs.geometry.mesh.instances;
50 outputs.attributes.value = inputs.geometry.mesh.attributes;
51 outputs.bindings.value = inputs.geometry.mesh.bindings;
52 outputs.inputs.value = inputs.geometry.mesh.input;