Change RasterizerNfo to struct

To simplify the code a bit.