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 shader code location interface object corresponding to the specified line number.
Syntax
HRESULT GetCodeLocation(
UINT64 line,
REFIID riid,
void ** codeLocation);
Parameters
line [in]
Source line number to map to a shader code location.
riid [in]
The interface IID of the object to be returned. Expected: IPixShaderCodeLocation
codeLocation [out]
The pointer to the returned interface
Returns
S_OK on success, otherwise an error code.