Skip to content

Instantly share code, notes, and snippets.

View miguelibero's full-sized avatar

Miguel Ibero miguelibero

View GitHub Profile
@carloscm
carloscm / bgfx-nuklear.cpp
Last active June 13, 2024 11:35
bgfx renderer for nuklear. Bring your own event handling and your own common sense for integration into your project.
#include "../platform/platform.h"
#include <cstdlib>
#include <cstring>
#include <bgfx/bgfx.h>
#include <bgfx/embedded_shader.h>
#include <bx/allocator.h>
#include <bx/math.h>
#define NK_IMPLEMENTATION