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 30

Object-to-structure For this type conversion to be valid, the structure must not contain more than one member. The type of that member must be identical with the type of the object.

Page 69

...nce when applying an effect, all components of a light or a material should be speci.ed in the effect .le. States that you fail to declare are set to some default value because there is no way for Direct3D to set light states individually. All available light states along with their description are ...

Page 201

sumed to be the vector (ignored, 1/d, ignored, 1/d). The

Page 4

9.0. This language, similar to a high-level language such as C or C++, allows developers to focus on the task the shader wishes to perform rather than logistics such as determining which registers to use and which combination of instructions is best for a speci.c card or shader version.

Page 195

else Begins an else block. 1 Flow Control

DXDIAG_INIT_PARAMS

Used by Initialize to initialize the IDxDiagProvider object.

typedef struct DXDIAG_INIT_PARAMS {
    DWORD dwSize;
 
       DWORD dwDxDiagHeaderVersion;
    BOOL bAllowWHQLChecks;
    VOID *
    pReserved;
} DXDIAG_INIT_PARAMS, *LPDXDIAG_INIT_PARAMS;

Members

dwSize
Specifies the size of the structure.
dwDxDiagHeaderVersion
Identifies whether the header is built against the correct version. This value must be DXDIAG_DX9__SDK_VERSION.
bAllowWHQLChecks
Specifies whether the DirectX Diagnostic tool is allowed to verify that the drivers are digitally signed by Microsoft Windows Hardware Quality Labs (WHQL). When doing this, the DirectX Diagnostic tool can connect to the Internet to download new WHQL certificates. The valid values are:
TRUE
Allow verification.
FALSE
Do not allow verification.
pReserved
Reserved. Must be NULL.