10 halp_meta(name,
"Extract buffer")
11 halp_meta(category,
"Visuals/Utilities")
12 halp_meta(c_name,
"extract_attribute")
13 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/extract-buffer.html")
14 halp_meta(uuid,
"207ab744-1f3e-4e72-9a77-db6017cf3dd5")
52 halp_meta(name,
"Geometry");
53 halp::dynamic_gpu_geometry
mesh;
54 float transform[16]{};
55 bool dirty_mesh =
false;
56 bool dirty_transform =
false;
59 halp::combobox_t<
"Attribute", Attribute> attribute;
60 halp::toggle<
"Pad vec3 to vec4"> pad_to_vec4;
65 halp::gpu_buffer_output<
"Buffer"> buffer;
78 void runInitialPasses(
85 [[nodiscard]]
static halp::attribute_semantic
86 toAttributeLocation(Attribute attr)
noexcept;
89 ExtractionStrategyVariant m_strategy;
90 Attribute m_currentAttribute{Position};
91 ossia::geometry::gpu_buffer m_currentBuffer{};
92 bool m_currentPadToVec4{
false};