Skip to content

Instantly share code, notes, and snippets.

d:\gamedev\toy\mud\3rdparty\bgfx\src\bgfx.cpp (2908): BGFX Init...
d:\gamedev\toy\mud\3rdparty\bgfx\src\bgfx.cpp (1448): BGFX Creating rendering thread.
d:\gamedev\toy\mud\3rdparty\bgfx\src\bgfx_p.h (2712): BGFX render thread start
d:\gamedev\toy\mud\3rdparty\bgfx\src\bgfx.cpp (1457): BGFX Running in multi-threaded mode
d:\gamedev\toy\mud\3rdparty\bgfx\src\glcontext_wgl.cpp (89): BGFX Pixel format:
iPixelType 0
cColorBits 32
cAlphaBits 8
cDepthBits 24
cStencilBits 8
@raizam
raizam / Nuklear.cs
Last active November 2, 2019 09:41
Nuklear bindings for C#
// ----------------------------------------------------------------------------
// <auto-generated>
// This is autogenerated code by CppSharp.
// Do not edit this file or all your changes will be lost after re-generation.
// </auto-generated>
// ----------------------------------------------------------------------------
using System;
using System.Runtime.InteropServices;
using System.Security;
@raizam
raizam / Vec2.h
Last active December 2, 2023 22:52
Some boilerplate c++ Vec2 class
#ifndef __VEC2_H__
#define __VEC2_H__
#include <cmath>
template <class T>
class vec2 {
public:
@raizam
raizam / TaskManagerComponent.cs
Last active October 20, 2016 00:04
This monogame component helps handling task execution in a background thread, and synchronization in the game thread.
using System;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
namespace Monogame.Components
{
/*
public class TaskManagerTest : Game
{