When doing Normal baking, is RC using OpenGL or DirectX?

When doing Normal baking, is RC using OpenGL or DirectX?