![]() | By Sebastien St-Laurent |
![]() | ![]() | ![]() | ![]() | ![]() |
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. |
The DirectX Caps Viewer (DXCapsViewer.exe) shows information for the following components:
Compatibility Chart
| Direct3D 9 | Direct3D 9 EX | Direct3D 10 | 64-bit Native Mode | Windows XP | Windows Vista |
|---|---|---|---|---|---|
Yes | Yes | No | Yes | Yes | Yes |
Caps viewer shows the DirectDraw capabilities of the primary display adapter:

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.
| Executable: | (SDK root)\Utilities\Bin\x86 or x64 |
Select items in the tree view on the left. Information about the selected item appears in the pane on the right.