Skip to content

Instantly share code, notes, and snippets.

View Zeinok's full-sized avatar

Ethan Lin Zeinok

  • National Yunlin University of Science and Technology
  • Taiwan
View GitHub Profile
@WernerWenz
WernerWenz / gist:67d6f3ebd0309498ed89bcff6c1889a7
Created December 1, 2016 01:17
OpenTK Render2Bitmap sample
using System.Drawing;
using System.Drawing.Imaging;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using SDPixelFormat = System.Drawing.Imaging.PixelFormat;
using PixelFormat = OpenTK.Graphics.OpenGL.PixelFormat;
namespace RenderToBmp
{