Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Quick easy question. When setting a Rasterizer State (like for example wireframe).....does that affect every object (model) on the screen?

For example, let's pretend I have 2 cubes. I use:

devcon->RSSetState(pRSWireframe);

Will that affect all the objects on the screen?

share|improve this question
up vote 5 down vote accepted

It will only affect objects rendered after the state is changed.

share|improve this answer
    
Thats what I figured, thanks – user6465 May 11 '11 at 13:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.