/// <summary> /// <para>cgDestroyObj removed the specified object and all its associated data.</para> /// <para>ERROR: CG_INVALID_OBJ_HANDLE_ERROR is generated if obj is not a valid object handle.</para> /// <para>VERSION: cgDestroyObj was introduced in Cg 2.0.</para> /// </summary> /// <param name="obj">The object to delete.</param> public static void DestroyObj(CgObj obj) { cgDestroyObj(obj); }
private static extern void cgDestroyObj(CgObj obj);