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 100

...ber of components passed to this function can make a signi.cant performance difference. Another classic example of performance difference would be to use the mul function to apply skinning to a vertex using a 4-by-4 matrix when in reality a 4-by-3 matrix is needed, causing the compiler to generate 1...

Page 152

Another situation that may arise when your effect has multiple lights and that the light structure variable is an array as in the following:

Page 161

Notice that the seventh parameter to the function is a pointer to an effect pool. If you do not wish to have your effect share parameters, you can easily pass NULL to this parameter. This is equivalent to having the effect framework create a new ID3DXEffectPool for each new effect.

Page 77

MultiSampleAntialias bool This render state must be either True or False and controls how triangles are rendered when using an antialiased render target. See D3DRS_MULTISAMPLEANTIALIAS in the DirectX documentation for more details.

Page 204

...the pixel shader 1.x model offers a wide range of texture accessing instructions. Below, in Table A-6, you will .nd a complete listing of texture access instructions along with a quick description of their functionality, the number of instruction slots taken and for which version of the pixel shader...

DirectXUnRegisterApplication

Deprecated. Deletes the registration of an application designed to work with IDirectPlayLobby3.

int DirectXUnRegisterApplication( HWND
     hWnd, LPGUID lpGUID );

Parameters

hWnd
Handle of the parent window. Set this to NULL if the desktop is the parent window.
lpGUID
Address of a GUID that represents the DirectPlay application to be unregistered.

Return Values

If the function succeeds, the return value is TRUE. This means that the registration is successfully deleted.

If the function fails, the return value is FALSE.

Remarks

Note    DirectPlay is deprecated, and Microsoft strongly recommends against using it to develop new applications. Game developers should use Windows Sockets (see Windows Sockets) and the Windows Firewall APIs (see Games and Firewalls)

The DirectXUnRegisterApplication function has to have both Dsetup.dll and Dsetup32.dll. These two files are not installed on the system but they are included in the SDK.

Requirements

Header: Declared in Dsetup.h.

See Also

DirectXRegisterApplication