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

Public Attributes

SB::Core::DatabasePtr< NodeBaserefNode
 Node to reference.
 
NodeInstanceType type = NodeInstanceType::MAIN
 Type of node to create.
 
VoiceowningVoice = nullptr
 Voice owner.
 
NodeInstanceparentForChildren = nullptr
 Parent node instance for this node instance.
 

Member Data Documentation

◆ parentForChildren

NodeInstance* SB::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 SB::Engine::InitNodeInstance::type = NodeInstanceType::MAIN

Type of node to create.

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


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