its not that simple it depends. what are you trying to achive? is it a particle engine? then i suggest learning either opengl or directx.