Category Archives: Quick N Dirty Gfx Samples

OpenGL Map Buffer

Purpose of the Sample:

Demonstrate how to map data from the CPU to a buffer that lives on the GPU.  This sample is based on the learnopengl.com tutorial.

CGame.h

CGame.cpp

vertex.glsl

fragment.glsl

Download Sample App