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 201

...actional component of the input. 1 Arithmetic if_bool Begins an if/ else/ endifblock (using a boolean condition). 3 Flow Control if_comp Begins an if block, with a comparison. 3 Flow Control if_pred Begins an if block with a predicate condition. 3 Flow Control lit Returns the partial lighting calcu...

Page 118

As you can see from the listing above, the command-line compiler can provide you with a wealth of information about a particular shader. For example, it will provide you with the complete assembly

Page 162

Using the shared parameters in this context is now straightforward. You can create all your effects using the same ID3DXEffectPoolinterface and then only setup the parameters once. Below is a practical example of what this may look like within your application:

Page 67

In a fashion similar to a technique, a rendering pass is de.ned by the Pass keyword followed by an optional annotation block. The content of a pass is de.ned by a StateBlock which represents a grouping of render states to be used by the effect.

Page 231

...tion returns the determinant of the input matrix x. Because of the nature of determinants, the input value must be a square matrix. Determinants are used to determine if a matrix de. ned from a set of linear equations has a single solution. For example, the determinant of a 3-by-3 matrix x is de. n...

DirectXSetupSetCallback

Sets a pointer to a callback function that is periodically called by DirectXSetup. The callback function can be used for setup progress notification and to implement a custom user interface for an application's setup program. For more information, see DirectXSetupCallbackFunction. If a setup program does not provide a callback function, irectXSetupSetCallback is not invoked.

INT DirectXSetupSetCallback( 
    SETUP_CALLBACK Callback );

Parameters

Callback
Address of a callback function.

Return Values

Currently returns 0.

Remarks

To set a callback function, DirectXSetupSetCallback must be called before DirectXSetup is called.

The name of the callback function passed to DirectXSetupSetCallback is supplied by the setup program. However, it must match the prototype given in DirectXSetupCallbackFunction.

Requirements

Header: Declared in Dsetup.h.

See Also

DirectXSetupCallbackFunction , DirectXSetup