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 6

...etric information is passed to the graphics hardware through the use of a rendering API such as Direct3D. Once this information is received by the hardware, it invokes the vertex shader for every vertex in your mesh. Figure 1.1 includes the functional diagram for a vertex shader 2.0 implementation a...

Page 12

technique This keyword is case insensitive and is used to de.ne different techniques to accomplish an effect. Note that this keyword relates more closely to effect .les and will be discussed in Part II of this book.

Page 265

This function returns both the sine and cosine of x. The sine of the input will be store in the output parameter s and the cosine in the output parameter c. This function will operate per-component for vector and matrix inputs. For example, the following code

Page 282

ResourceName string Resource name for objects, such as a .lename for a texture.

Page 121

GetParameterBySemantic Gets the handle of a top-level parameter or a structure

DirectXSetup

Installs DirectX components.

int DirectXSetup( HWND hWnd
    , LPSTR lpszRootPath, DWORD dwFlags
     );

Parameters

hWnd
Handle of the parent window for the setup dialog boxes.
lpszRootPath
Address of a string that contains the root path of the DirectX component files. This string must specify a full path to the directory that contains the files Dsetup.dll and Dsetup32.dll, as well as the DirectX redistributable files. If this value is NULL, the current working directory is used.
dwFlags
This flag is ignored unless you use:
DSETUP_MANAGEDDX
Installs the Managed Code component. This requires that the Microsoft .NET Framework is installed.
DSETUP_TESTINSTALL
Performs a test installation. Does not install new components.

Return Values

If it fails, it returns an error value (see DirectXSetup Return Values). If this function succeeds, it returns one of the following success codes: DSETUPERR_SUCCESS, DSETUPERR_SUCCESS_RESTART

Remarks

Before using the DirectXSetup function in your setup program, you should first ensure that the system has enough available disk space. The maximum space that you need to set up DirectX 9 is 20 MB for Windows 98 and Windows Millenium systems, and 25 MB for Windows 2000 and Windows XP.

Requirements

Header: Declared in Dsetup.h.

See Also

Installing DirectX with DirectSetup