Windows apps
Collapse the table of content
Expand the table of content
Information
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

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11Module

 

 

Show:
© 2017 Microsoft