This project is read-only.


Mar 16, 2009 at 7:49 PM
How do set the fillmode to wireframe?  I tried to copy the DeviceRenderState, set the FillMode to Wireframe and Push it but I started getting exceptions.  Any ideas?
Mar 16, 2009 at 8:27 PM
Never mind i figured out i was not poping it, and also doing it in the wrong spot.
Mar 16, 2009 at 11:18 PM

Hi. Good to hear it's all sorted.

The preferred way to do this would be:

state.PushRenderState(); // saves the entire state on the stack
state.RenderState.DepthColourCull.CullMode = CullMode....;

//do your drawing

state.PopRenderState(); //reset