Added rasterization mode function