![]() | By Sebastien St-Laurent |
![]() | ![]() | ![]() | ![]() | ![]() |
Page 30 Object-to-object This type of conversion is only valid if both object types are of the same type | Page 74 ...he speci. ed texture. The values are the same as the values used byD3DRS_WRAP0. Valid values are: COORD0 (which corresponds to D3DWRAPCOORD_0), COORD1 (which corresponds to D3DWRAPCOORD_1), COORD2(which corresponds to D3DWRAPCOORD_2), COORD3 (which corresponds to D3DWRAPCOORD_3), U (which correspond... | Page 42 const This pre.x indicates for which pixel/vertex shader version the code is intended. This allows the compiler to make the best decisions when building the code. | Page 34 ...onstant and can be determined ahead of time. For example, static branching allows for blocks of code to be switched on or off based on a boolean shader constant. This is a convenient method for enabling or disabling code paths based on the type of object currently being rendered. Between rendering ... | Page 198 m3x4 Product of a 3-component vector and a 43 matrix. 4 Arithmetic |
Applications sometimes need to know which version of DirectX is currently available on the system. If an older version of DirectX is on the system, your application may need to scale itself to the capabilities of that version or install the most recent version.
The table lists the version of DirectX that shipped with each operating system:
| Operating System | DirectX Version |
|---|---|
| Windows 98 Gold | DirectX 5.2 |
| Windows 98 SE | DirectX 6.1a |
| Windows 2000 | DirectX 7.0 |
| Windows Millenium Edition | DirectX 7.1 |
| Windows XP | DirectX 8.1 |
DirectX 9.0 is supported on Windows XP.
The GetDXVer SDK sample has a function in it called GetDXVersion that returns the version of DirectX that is installed. As long as this integer is greater than or equal to your desired version number, your application will run normally.
| Source: | (SDK root)\Samples\C++\Misc\GetDXVer |
| Executable: | (SDK root)\Samples\C++\Misc\Bin\GetDXVer |
Use the Windows function GetVersionEx to check the operating system installed. This function returns an OSVERSIONINFOEX structure that contains a variety of information about the operating system.