add a contructor to RenderStates