added some comments to render.h