Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::engine::InitNodeInstance Struct Reference
Collaboration diagram for sbk::engine::InitNodeInstance:

Public Attributes

sbk::core::database_ptr< node_baserefNode
 Node to reference.
 
NodeInstanceType type = NodeInstanceType::MAIN
 Type of node to create.
 
voiceowningVoice = nullptr
 voice owner.
 
node_instanceparentForChildren = nullptr
 Parent node instance for this node instance.
 

Member Data Documentation

◆ parentForChildren

node_instance* sbk::engine::InitNodeInstance::parentForChildren = nullptr

Parent node instance for this node instance.

Used when initializing children so it can join the DSP graph correctly.

◆ type

NodeInstanceType sbk::engine::InitNodeInstance::type = NodeInstanceType::MAIN

Type of node to create.

Different types of nodes initialize differently. For example, get_parent nodes only create more parents. Children create more children.


The documentation for this struct was generated from the following file: