Returns an error enum if an error has occured in the last Cg method call.
Error enum.
Cg Class | Tao.Cg Namespace