Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Static Public Member Functions | List of all members
vl::VisualizationLibrary Class Reference

Used to initialize/shutdown VisualizationLibrary and to access important global data. More...

#include <VisualizationLibrary.hpp>

Static Public Member Functions

static VLMAIN_EXPORT void init (bool log_info=true)
 Initializes VLCore and VLGraphics libraries. More...
 
static VLMAIN_EXPORT void shutdown ()
 Releases all the resources acquired by VLCore and VLGraphics. More...
 
static VLMAIN_EXPORT bool isCoreInitialized ()
 Returns true if VLCore library is initialized and shutdown has not been called. More...
 
static VLMAIN_EXPORT bool isGraphicsInitialized ()
 Returns true if VLGraphics library is initialized and shutdown has not been called. More...
 

Detailed Description

Used to initialize/shutdown VisualizationLibrary and to access important global data.

Definition at line 44 of file VisualizationLibrary.hpp.

Member Function Documentation

◆ init()

void VisualizationLibrary::init ( bool  log_info = true)
static

Initializes VLCore and VLGraphics libraries.

Call initCore() instead of init() when using only VLCore.

Definition at line 131 of file init_graphics.cpp.

Referenced by main().

◆ isCoreInitialized()

bool VisualizationLibrary::isCoreInitialized ( )
static

◆ isGraphicsInitialized()

bool VisualizationLibrary::isGraphicsInitialized ( )
static

Returns true if VLGraphics library is initialized and shutdown has not been called.

Definition at line 143 of file init_graphics.cpp.

◆ shutdown()

void VisualizationLibrary::shutdown ( )
static

Releases all the resources acquired by VLCore and VLGraphics.

Call shutdownCore() instead of shutdown() when using only VLCore.

Definition at line 137 of file init_graphics.cpp.

Referenced by vlGLUT::atexit_visualization_library_shutdown().


The documentation for this class was generated from the following files: