The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ID3D11Module::CreateInstance method
Initializes an instance of a shader module that is used for resource rebinding.
Syntax
HRESULT CreateInstance(
[in, optional] LPCSTR pNamespace,
[out] ID3D11ModuleInstance **ppModuleInstance
);
Parameters
- pNamespace [in, optional]
-
Type: LPCSTR
The name of a shader module to initialize. This can be NULL if you don't want to specify a name for the module.
- ppModuleInstance [out]
-
Type: ID3D11ModuleInstance**
The address of a pointer to an ID3D11ModuleInstance interface to initialize.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: