ID3D11FunctionLinkingGraph::CreateModuleInstance method
Initializes a shader module from the function-linking-graph object.
Syntax
HRESULT CreateModuleInstance( [out] ID3D11ModuleInstance **ppModuleInstance, [out, optional] ID3DBlob **ppErrorBuffer );
Parameters
- ppModuleInstance [out]
-
Type: ID3D11ModuleInstance**
The address of a pointer to an ID3D11ModuleInstance interface for the shader module to initialize.
- ppErrorBuffer [out, optional]
-
Type: ID3DBlob**
An optional pointer to a variable that receives a pointer to the ID3DBlob interface that you can use to access compiler error messages, or NULL if there are no errors.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also