Basic2D

From ClanLib Game SDK

This program draws a ClanLib logo to screen, has a moving clip-area and some partially transparent rectangles moving around.

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

For OpenGL 2 and above:

  1. define USE_OPENGL_2

For OpenGL 1.3 and above:

  1. define USE_OPENGL_1

For Software renderer (default)

  1. define USE_SOFTWARE_RENDERER
Basic2D Example Window
.