|
| void | add_audio_sink (std::vector< AudioSink > &sinks, Buffers::BufferManager &mgr, uint32_t channel, std::function< Kakshya::DataVariant(const InfluenceContext &)> fn={}, std::string fn_name={}) |
| | Create and register an audio sink on channel.
|
| |
| void | add_render_sink (std::vector< RenderSink > &sinks, Buffers::BufferManager &mgr, const Portal::Graphics::RenderConfig &config, RenderFn fn={}, std::string fn_name={}, const std::optional< glm::vec3 > &initial_position={}) |
| | Create and register a render sink targeting window.
|
| |
| void | apply_attachment (Attachment &attachment, const InfluenceContext &ctx) |
| | Rebuild the transform from ctx and place every render processor of the buffer.
|
| |
| template<typename Region > |
| Influence< Kinesis::AABB3D >::Target | bind_bounds (const Region &expanse) |
| | Target that moves or resizes an Expanse's bounds from an influence of boxes.
|
| |
| template<typename Field , typename Operator > |
| Influence< Field >::Target | bind_field (const Operator &op, Kinesis::FieldTarget target) |
| | Target that feeds an influence of fields into an operator's vertex attributes.
|
| |
| template<typename Field , typename Operator > |
| Influence< Field >::Target | bind_field (const Operator &op, uint32_t slot, Kinesis::FieldTarget target) |
| | Same as above, for one slot of a MeshFieldOperator.
|
| |
| template<typename Operator > |
| Influence< Kinesis::VectorField >::Target | bind_force (const Operator &op) |
| | Target that feeds an influence of vector fields into a PhysicsOperator as a force.
|
| |
| template<typename Receiver > |
| Influence< InfluenceBlock >::Target | bind_influence_block (const Receiver &target, size_t offset=0) |
| | Target that pushes an InfluenceBlock to a render processor for the library's lit shaders.
|
| |
| template<typename Operator > |
| Influence< glm::vec4 >::Target | bind_params (const Operator &op) |
| | Target that sets the parameter block of a GpuFieldOperator's parametric fields.
|
| |
| template<typename Operator > |
| Influence< Kinesis::VectorField >::Target | bind_position (const Operator &op, uint32_t slot) |
| | Target that feeds an influence of vector fields into one instance's position.
|
| |
| template<typename T , typename Receiver > |
| Influence< T >::Target | bind_push_constants (const Receiver &target, size_t offset=0) |
| | Target that pushes an influence's value to a GPU executor as push constants.
|
| |
| template<typename Operator > |
| auto | bind_transform (const Operator &op, uint32_t slot) |
| | Target that feeds an influence of transform functions into one slot.
|
| |
| void | dispatch_audio_sinks (std::vector< AudioSink > &sinks, const InfluenceContext &ctx) |
| | For each sink that has a producer fn, call it and push the result.
|
| |
| void | dispatch_render_sinks (std::vector< RenderSink > &sinks, const InfluenceContext &ctx) |
| | For each sink that has a producer fn, call it and push the result.
|
| |
| void | follow_attachment (Attachment &attachment, std::optional< glm::vec3 > &position, const std::optional< glm::quat > &orientation) |
| | Set position from the buffer, or fold an outside move into the attachment.
|
| |
| Attachment | make_attachment (std::shared_ptr< Buffers::VKBuffer > buf, const AttachConfig &config, const std::optional< glm::quat > &orientation) |
| | Build an attachment to buf.
|
| |
| void | place_attachment (Attachment &attachment) |
| | Place every render processor of the buffer that is not placed yet.
|
| |
| void | push_audio_data (std::vector< AudioSink > &sinks, std::span< const double > samples) |
| | Push samples to every audio sink in sinks.
|
| |
| std::optional< glm::vec3 > | read_anchor (const std::shared_ptr< Buffers::VKBuffer > &buf, const std::optional< uint32_t > &index) |
| | Anchor of a buffer's geometry in its own stored coordinates.
|
| |
| std::optional< Kinesis::AABB3D > | read_bounds (const std::shared_ptr< Buffers::VKBuffer > &buf, const std::optional< uint32_t > &collection=std::nullopt) |
| | Bounds of a buffer's geometry in its own stored coordinates.
|
| |
| glm::mat4 | read_placement (const std::shared_ptr< Buffers::VKBuffer > &buf) |
| | Where a buffer is drawn: the geometry transform of its primary render processor.
|
| |
| void | recenter_attachment (Attachment &attachment, std::optional< glm::vec3 > &position, const std::optional< glm::quat > &orientation) |
| | Read the buffer's geometry again and move the anchor to match.
|
| |
| void | release_attachment (Attachment &attachment) |
| | Give every placed render processor back the geometry transform it had.
|
| |
| void | remove_audio_sink (std::vector< AudioSink > &sinks, Buffers::BufferManager &mgr, uint32_t channel) |
| | Unregister and destroy the audio sink on channel.
|
| |
| void | remove_render_sink (std::vector< RenderSink > &sinks, Buffers::BufferManager &mgr, const std::shared_ptr< Core::Window > &window) |
| | Unregister and destroy the render sink targeting window.
|
| |