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.
Generates Microsoft High Level Shader Language (HLSL) shader code that represents the function-linking-graph.
Syntax
HRESULT GenerateHlsl(
[in] UINT uFlags,
[out] ID3DBlob **ppBuffer
);
Parameters
[in] uFlags
Type: UINT
Reserved
[out] ppBuffer
Type: ID3DBlob**
An pointer to a variable that receives a pointer to the ID3DBlob interface that you can use to access the HLSL shader source code that represents the function-linking-graph. You can compile this HLSL code, but first you must add code or include statements for the functions called in the function-linking-graph.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11shader.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |