RenderState for primitives

Apr 8, 2013 at 4:20 AM
I want to draw a primitive using the FillMode.Wire render state. Is it possible to do this in Nine or do I need to use a material/shader effect?
Apr 11, 2013 at 10:46 AM
It is possible to turn on Wireframe for the entire scene by setting a property in DrawingContext. To turn on wireframe for a single primitive, you need to write your own material that ser and restores the rasterize state in Material.BeginApply/EndApply methods.