cleaning directx and opengl shader classes