Question about applying an Effect Pass

Started by
1 comment, last by Capoeirista 10 years, 10 months ago

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

J.W.
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.

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).

This topic is closed to new replies.

Advertisement