30.04.2014 Views

D3DX Effects and the DirectX 9 High-Level Shading ... - Nvidia

D3DX Effects and the DirectX 9 High-Level Shading ... - Nvidia

D3DX Effects and the DirectX 9 High-Level Shading ... - Nvidia

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Annotating Techniques<br />

technique BumpyShinyHiQuality<br />

<<br />

float quality = 5.0;<br />

float performance = 1.0;<br />

…<br />

>;<br />

{<br />

pass p0 { … }<br />

}<br />

Annotations for techniques<br />

technique BumpyShinyHiPerf<br />

<<br />

float quality = 1.0;<br />

float performance = 5.0;<br />

…<br />

>;<br />

{ … }<br />

• Annotations can be used to identify characteristics of technique <strong>and</strong><br />

o<strong>the</strong>r info for <strong>the</strong> application

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

Saved successfully!

Ooh no, something went wrong!