Canvas

From ClanLib Game SDK

Demonstrates how to modify surface data using ClanLibs drawing functions.

You can choose the target renderer by enabling the #define in program.cpp.

For OpenGL 2 and above: (default)

  1. define USE_OPENGL_2

For OpenGL 1.3 and above:

  1. define USE_OPENGL_1

For Software renderer

  1. define USE_SOFTWARE_RENDERER
Canvas Example Window
.