VCV Rack API v2
context.hpp File Reference
#include <common.hpp>
Include dependency graph for context.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rack::Context
 Rack instance state. More...
 

Namespaces

namespace  rack
 Root namespace for the Rack API.
 
namespace  rack::history
 Action history for UI undo/redo.
 
namespace  rack::engine
 High-performance classes handling modules and voltage signals between them.
 
namespace  rack::window
 Handles OS windowing, OpenGL, and NanoVG.
 
namespace  rack::patch
 Handles the Rack patch file state.
 
namespace  rack::widget
 Base UI widget types.
 
namespace  rack::app
 Rack's custom UI widgets that control the Rack state and engine.
 

Macros

#define APP   rack::contextGet()
 Accesses the global Context pointer. More...
 

Functions

Context * rack::contextGet ()
 Returns the global Context pointer. More...
 
void rack::contextSet (Context *context)
 Sets the context for this thread. More...
 
DEPRECATED Context * rack::appGet ()
 Deprecated. More...
 

Macro Definition Documentation

◆ APP

#define APP   rack::contextGet()

Accesses the global Context pointer.

Just an alias for contextGet().