XJ music engine
1.9.6
In-game runtime engine for XJ music.
|
#include <Craft.h>
Public Member Functions | |
LambdaInstrumentProvider (std::function< std::optional< Instrument >(ProgramVoice)> func) | |
std::optional< Instrument > | get (const ProgramVoice *voice) override |
![]() | |
virtual | ~InstrumentProvider ()=default |
Lambda instrument provider to create an instrument provider from a lambda
|
inlineexplicit |
|
inlineoverridevirtual |
This is the default implementation of the InstrumentProvider interface. It should be replaced by a custom Lambda implementation when used
Reimplemented from XJ::Craft::InstrumentProvider.