Thread: D3D9 SetRenderState

  1. #1
    Registered User
    Join Date
    Jan 2007

    D3D9 SetRenderState

    Is it recommended that calls to SetRenderState happen *every* render cycle in d3d9 or can some render states be set during program startup and never set again?

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Some can be set and never set again. Render state optimization used to be huge however has of late been less important as the hardware gets better. However it is my opinion that you can never go wrong with render state optimization and the fewer states you change per frame the better. After all the fastest operations are the one's you do not have to perform.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. d3d9 Sprites Upside Down...
    By yaya in forum Game Programming
    Replies: 4
    Last Post: 04-05-2009, 05:21 PM
  2. d3d9 c++ texture wrapper... again...
    By yaya in forum Game Programming
    Replies: 0
    Last Post: 04-01-2009, 01:08 PM
  3. Comparing Matrices (D3D9)
    By MicroFiend in forum Game Programming
    Replies: 2
    Last Post: 10-12-2005, 08:36 AM