The COMPLETE Effect and HLSL Cross-Reference

By Sebastien St-Laurent
ISBN 0-9766132-1-2
Jan 2006 (896 pages)

Buy directly from Paradoxal Press at $20.75 (Save 43%)

Page 10

compile This keyword is used when declaring vertex or pixel fragments (or shaders), indicating with which pro.le to compile the fragment.. This keyword is to be used when assigning a shader directly to the vertex or pixel shader effect state.

Page 82

PixelShaderConstant .oat[m[n]] This pixel shader constant takes in an m-by-n array of .oats; m and n are optional.

Page 199

ret End of either a subroutine or main. 1 Flow Control

Page 157

...r Visual Studio .NET are a set of tools that integrate into the IDE to facilitate the development and debugging of graphical applications. The extensions are part of the DirectX SDK and will install automatically if you install the SDK and have Visual Studio present. The extensions give you a lot of...

Page 15

This directive tells the compiler how matrices de.ned within the HLSL .le should be interpreted (either row or column major). I will discuss this in more detail in Chapter 2 when I will discuss the different data types de.ned by HLSL.

DirectX Caps Viewer Tool

The DirectX Caps Viewer (DXCapsViewer.exe) shows information for the following components:

Compatibility Chart

Direct3D 9Direct3D 9 EXDirect3D 1064-bit Native ModeWindows XPWindows Vista

Yes

Yes

No

Yes

Yes

Yes

Caps viewer shows the DirectDraw capabilities of the primary display adapter:

Screen shot of DirectX Caps Viewer

Developers should use this tool to verify the capabilities of their development and test computers, making sure that DirectX applications correctly test for current computer capabilities. It is suggested that applications be designed with fallback strategies if the required features are not available.

Path

Executable:(SDK root)\Utilities\Bin\x86 or x64

User's Guide

Select items in the tree view on the left. Information about the selected item appears in the pane on the right.