ofAppNoWindow
Sometimes you might want to run your OF application without a window at all, for instance on a server where it's simply doing image processing and file IO or on a device that doesn't have a monitor attached to it at all. In that case, you might want to make an OF app with no window, which is what this class allows you to do. We call it "headless mode" sometimes, and it's a powerful tool.
allowsMultiWindow( )
bool allowsMultiWindow()doesLoop( )
bool doesLoop()draw( )
void draw()events( )
ofCoreEvents & events()exitApp( )
void exitApp()getHeight( )
int getHeight()getScreenSize( )
glm::vec2 getScreenSize()getWidth( )
int getWidth()getWindowPosition( )
glm::vec2 getWindowPosition()getWindowSize( )
glm::vec2 getWindowSize()loop( )
void loop()needsPolling( )
bool needsPolling()ofAppNoWindow( )
ofAppNoWindow()pollEvents( )
void pollEvents()run( ... )
void run(ofBaseApp *appPtr)setup( ... )
void setup(const ofWindowSettings &settings)update( )
void update()~ofAppNoWindow( )
~ofAppNoWindow()