MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / LoadResources

Method LoadResources

Source/ModularSynth.cpp:282–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void ModularSynth::LoadResources(void* nanoVG, void* fontBoundsNanoVG)
283{
284 gNanoVG = (NVGcontext*)nanoVG;
285 gFontBoundsNanoVG = (NVGcontext*)fontBoundsNanoVG;
286 LoadGlobalResources();
287
288 if (!gFont.IsLoaded())
289 mFatalError = "couldn't load font from " + gFont.GetFontPath() + "\nmaybe bespoke can't find your resources directory?";
290}
291
292void ModularSynth::InitIOBuffers(int inputChannelCount, int outputChannelCount)
293{

Callers 1

initialiseMethod · 0.80

Calls 3

LoadGlobalResourcesFunction · 0.85
IsLoadedMethod · 0.80
GetFontPathMethod · 0.80

Tested by

no test coverage detected