From  http://www.gamedev.net/topic/435995-would-it-be-faster-to-batch-setvertexpixelshaderconstant-calls/

Copy the content here for fear that the link is invalide someday.

------------------------------------------------------------

Kimani:

So I would imagine the API call I make most often is SetVertexShaderConstantF.
pd3dDevice->SetVertexShaderConstant( 1 );
pd3dDevice->SetVertexShaderConstantF( 1 );
pd3dDevice->SetVertexShaderConstantF( 4 );
pd3dDevice->SetVertexShaderConstantF( 1 );



相关文章:

  • 2021-04-02
  • 2021-12-13
  • 2021-09-16
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-01-13
  • 2021-04-04
猜你喜欢
  • 2021-12-17
  • 2021-07-06
  • 2021-06-25
  • 2021-09-07
  • 2021-07-03
  • 2022-01-21
  • 2022-12-23
相关资源
相似解决方案