reduced function calls to GL.Enable/Disable due to integrated RenderCore functionality