Original Post
How are constant effect variables handled now in DirectX10? Have they gotten rid of paramBlocks? In dx9 for an effect with constant values you would do a: H = _shader->BeginParameterBlock(); H = _shader->SetBool(...) H = _shader->SetFloat(...) H = _shader->SetInt(...) _paramblock = _shader->EndParameterBlock(); then.. void render_loop() { _state_block->Apply(); } How is that handled now in DX10? Also, how would you do this is you were not using the effect system.. just with straight shaders. Can those values be captured in a StateBlock?