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

Function LoadGlobalResources

Source/SynthGlobals.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void LoadGlobalResources()
105{
106 gFont.LoadFont(ofToResourcePath("frabk.ttf"));
107 gFontBold.LoadFont(ofToResourcePath("frabk_m.ttf"));
108 gFontFixedWidth.LoadFont(ofToResourcePath("iosevka-type-light.ttf"));
109 //gModuleShader.load(ofToResourcePath("shaders/module.vert"), ofToResourcePath("shaders/module.frag"));
110}
111
112void SetGlobalSampleRateAndBufferSize(int rate, int size)
113{

Callers 1

LoadResourcesMethod · 0.85

Calls 2

ofToResourcePathFunction · 0.85
LoadFontMethod · 0.80

Tested by

no test coverage detected