Creates a shader-trace interface for a shader-trace information object.
public:
HRESULT CreateShaderTrace(
IUnknown *pShader,
D3D11_SHADER_TRACE_DESC *pTraceDesc,
ID3D11ShaderTrace **ppShaderTrace
)
pShader
Type: IUnknown *
[in] A pointer to the IUnknown interface of the shader to create the shader-trace interface for.
pTraceDesc
Type: D3D11_SHADER_TRACE_DESC *
[in] A pointer to a D3D11_SHADER_TRACE_DESC structure that describes the shader-trace object to create. This parameter cannot be NULL.
ppShaderTrace
Type: ID3D11ShaderTrace **
[out] A pointer to a variable that receives a pointer to the ID3D11ShaderTrace interface for the shader-trace object that CreateShaderTrace creates.
Type: HRESULT
CreateShaderTrace returns:
Header: Declared in d3d11shadertracing.h.
Library: Use d3d11.lib.