![]() | By Sebastien St-Laurent |
![]() | ![]() | ![]() | ![]() | ![]() |
Page 92 ...emantics can easily be divided into four categories: vertex shader input, vertex shader output, pixel shader input and pixel shader output. Over the next few pages, I will present the four categories in a set of tables describing the semantics and their meaning. Keep in mind that in the tables below... | Page 31 ...are generally used for vertex and pixel shader function inputs, mapping them to a speci.c meaning such as a vertex position or texture coordinate. For example, the COLOR0 semantic is used to tell the compiler that the speci.c variable is the . rst diffuse color which, on most shader versions, will g... | Page 154 ...g that the name of the variable is now irrelevant to your application. Of course, this implies that your application sets its parameters based on the semantic of a variable instead of its name. This can easily be accomplished with the ID3DXEffect::GetParameterBySemantic function call. Below is the ... | Page 196 rcp Returns the reciprocal of the input, or 1/input. 1 Arithmetic | Page 182 ...dle to the parameter for which you wish to verify the literal status. The literal status of the parameter will be put in the second parameter, pLiteral. Take note that this function only allows you to check if a parameter is a literal. To set the parameters value you will need to use one of the vari... |
Gets the DirectX end-user license agreement (EULA) text for a specific language.
int DirectXSetupGetEULA( LPTSTR
pszEULA, UINT cchEULA, WORD LangID
);If the function succeeds, and cchEULA is nonzero, the return value is the number of EULA characters (Unicode or ANSI) written to the buffer pointed to by lpszEULA. If the function succeeds, and cchEULA is zero, the return value is the required size, in ANSI or Unicode characters, for a buffer that can receive the EULA string.
If the function fails, the return value is zero. To get extended error information, call etLastError.
The compiler setting also determines the function version. If Unicode is defined, the function call resolves to DirectXSetupGetEULAW. Otherwise, the function call resolves to DirectXSetupGetEULAA because ANSI strings are being used.
If a LangID is passed that is not supported, the function will fail and return 0. In this case, the etLastError return value will be ERROR_INVALID_PARAMETER. ERROR_INVALID_PARAMETER is also returned for the following reasons.
The setup application must display the EULA with in accordance with the DirectX SDK EULA.
The EULA must be displayed and accepted before continuing with DirectSetup.
Header: Declared in Dsetup.h.