Ok I get the idea.
The routines described in tht link, are they for DirectX only? Is it the same for OpenGL? Or does it actually use neither and I'm just making a fool of myself? ops: