Jump to content
  • Advertisement
Sign in to follow this  
jdub

Question about applying an Effect Pass

This topic is 2024 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Why does applying an effect pass in Direct3D11 clear all values in my constant buffers?

Share this post


Link to post
Share on other sites
Advertisement

Does using an effect clear the buffers or simply unbind them? You should check in PIX whatever it is the effects framework is doing behind your back. The effect's state management may interfere with your own.

Share this post


Link to post
Share on other sites

I think that applying a new effect pass will probably flush your graphics pipeline (could be wrong there though). If this is the case you'll have to re-bind your shader constant buffers (I take it the constant buffers CPU side aren't affected).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!