updating cube class, add mesh export and updating render begin function add raster state