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 9

...values. The advantage of the vector architecture is that it allows processing of multiple values at the same time. By default, all . oating-point values are processed as 32-bit precision .oating-point numbers. The pixel shader speci. cation allows processing of 16-bit precision values, which can be ...

Page 55

...though normals can be interpolated linearly, such interpolation can yield vectors that are not normalized. To correct this, it is a good idea to renormalize the vector by using the built-in HLSL normalize function for normals, which are interpolated in the transition from a vertex to a pixel shader...

Page 3

...rum, high-end software-rendering architectures used for movie CG had something that allowed them to go much farther. RenderMan is a shading language developed by Pixar Animation Studios. The purpose was to allow artists and graphic programmers to fully control the rendering result by using a simple...

Page 123

...ameters with the ID3DXEffectCompiler or ID3DXEffect interfaces. You can acquire a handle dynamically for example when you use the GetParameterByNamefunction. If you look at the handle de.nition above, youll notice that handles are technically string pointers. This means that in addition to dynamical...

Page 201

...tain (1, d, d*d, 1/d). else Begins an else block. 1 Flow Control endif Ends an if / else block. 1 Flow Control endloop End of a loop / endloop block. 2 Flow Control endrep End of a repeat block. 2 Flow Control exp Full precision 2x. 1 Arithmetic expp Partial precision 2x, meaning it will operate at...

IDXDiagContainer::EnumChildContainerNames

Enumerates the name of the IDXDiagContainer object at the specified index.

HRESULT EnumChildContainerNames( DWORD
     dwIndex, LPWSTR pwszContainer, 
    WORD cchContainer );

Parameters

dwIndex
[in] Zero-based index of the container object that specifies which child container name to retrieve. If this is outside of the allowable range, E_INVALIDARG is returned.
pwszContainer
[out] Address of a string buffer that receives the unique name of the child container. This should be at least 256 elements. If the buffer is too small, it will return DXDIAG_E_INSUFFICIENT_BUFFER.
cchContainer
[in] Specifies the size of the pwszContainer buffer in characters.

Return Values

Returns S_OK if successful. Otherwise, returns one of the following values: E_INVALIDARG, DXDIAG_E_INSUFFICIENT_BUFFER

Requirements

Header: Declared in Dxdiag.h.