30.04.2014 Views

Introduction to the DirectX 9 Shader Models - Nvidia

Introduction to the DirectX 9 Shader Models - Nvidia

Introduction to the DirectX 9 Shader Models - Nvidia

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Setting Vertex <strong>Shader</strong> Registers<br />

• Because of <strong>the</strong> new types of constant<br />

registers in <strong>DirectX</strong> 9, <strong>the</strong>re are new<br />

APIs for setting <strong>the</strong>m from <strong>the</strong> app:<br />

– SetVertex<strong>Shader</strong>ConstantF()<br />

– SetVertex<strong>Shader</strong>ConstantI()<br />

– SetVertex<strong>Shader</strong>ConstantB()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!