Finish cube texture class.