Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets this variable's value(s), one per lane it was evaluated for.
Syntax
HRESULT GetValues(
REFIID riid,
void ** values);
Parameters
riid [in]
The interface IID of the object to be returned. Expected: IPixCollection<IPixShaderVariableLaneValue>.
values [out]
The pointer to the returned interface
Returns
S_OK on success, otherwise an error code.
Remarks
A variable obtained from IPixShaderWave::GetVariables or IPixShaderLane::GetVariables always yields exactly one value. A variable obtained from IPixShaderWave::EvaluateExpression yields one value per lane selected by the caller's laneMask, in the same order the lanes were selected.