Registry / other / magnum

magnum

JSON →
library2020.06vcpkgunverified

Magnum is a C++11/C++14 graphics middleware for games and data visualization, providing a modern abstraction over OpenGL/DirectX/Vulkan.

vcpkg install magnum
INSTALL
IMPORT
SIG · MAGNUM
M
magnum
othercppv2020.06
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Magnum/Magnum.h
#include <Magnum/Magnum.h>

Create a minimal Magnum application

#include <Magnum/Magnum.h> #include <Magnum/GL/DefaultFramebuffer.h> #include <Magnum/Platform/GlfwApplication.h> class MyApp : public Magnum::Platform::Application { public: explicit MyApp(const Arguments &arguments) : Magnum::Platform::Application(arguments) {} void drawEvent() override { Magnum::GL::defaultFramebuffer.clear(Magnum::GL::FramebufferClear::Color); swapBuffers(); } }; MAGNUM_APPLICATION_MAIN(MyApp)
Debug
Known issues
gotchaMagnum is header-only for some components but requires linking for others; check documentation.
fix
Use CMake targets like Magnum::Magnum for core, Magnum::GL for OpenGL.
affects: *
Upgrade
Version history
2020.06latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources

No resource links recorded.

magnum — pip install magnum · libregistry