60 void unbind(uint32_t slot_index);
67 void process_slot(
GeometrySlot& slot,
float dt)
override;
69 [[nodiscard]] std::string_view
get_type_name()
const override {
return "InstanceField"; }
87 void set_gpu_executor(
89 bool continuous =
true);
100 template <
typename T>
104 m_executor->push(data);
106 m_compute_node->set_dirty();
115 void process(
float dt)
override;
121 std::shared_ptr<Yantra::ShaderExecutionContext<>>
m_executor;
Concrete GpuExecutionContext for a single fixed shader with fixed bindings.