Preparation work for HaxePunk rendering.