If you look for samples, check tutorials on NeHe site.