Izvozi (0) Natisni
Razširi vse
EN
Ta vsebina ni na voljo v vašem jeziku, vendar pa je tukaj angleška različica.

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

 

 

Vsebina skupnosti

Dodaj
Pokaži:
© 2014 Microsoft