![]() | By Sebastien St-Laurent |
![]() | ![]() | ![]() | ![]() | ![]() |
Page 99 ...ce this is the core topic of this section, I will not leave you hanging and give a few examples of some known bad case scenarios. An easy way to determine the cost of a particular shader is to use the command line HLSL compiler (fxc.exe) to output all the needed information about the resulting shade... | Page 132 SetVectorArray Sets an array of vectors. | Page 25 ...ting a distinct row of matrix data. You can address individual row-vectors of matrices by using an array style addressing. For example, you can address a single row of a matrix by using an index such as Matrix[3], which will return a vector of the correct size. You may also address individual compon... | Page 47 ...r basic rendering, how about adding a little more color by applying a texture to the geometry? For the shader to be able to use a texture, it will need a global variable of type sampler. Well explain later how you can use semantics and the effect framework to set up textures. For now, this is how t... | Page 147 This function returns a simple D3DXHANDLE to a state block resource to be reused later on. Take note that this function is assumed to never fail. |
Contains the registry entries needed for applications designed to work with IDirectPlayLobby3.
typedef struct DIRECTXREGISTERAPP {
DWORD dwSize;
DWORD dwFlags;
LPSTR lpszApplicationName;
LPGUID lpGUID;
LPSTR lpszFilename;
LPSTR lpszCommandLine;
LPSTR lpszPath;
LPSTR lpszCurrentDirectory;
} DIRECTXREGISTERAPP, *LPDIRECTXREGISTERAPP;