Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a shader module interface from source data for the shader module.
Syntax
HRESULT D3DLoadModule(
[in] LPCVOID pSrcData,
[in] SIZE_T cbSrcDataSize,
[out] ID3D11Module **ppModule
);
Parameters
[in] pSrcData
Type: LPCVOID
A pointer to the source data for the shader module.
[in] cbSrcDataSize
Type: SIZE_T
The size, in bytes, of the block of memory that pSrcData points to.
[out] ppModule
Type: ID3D11Module**
A pointer to a variable that receives a pointer to the ID3D11Module interface that is used for shader resource re-binding.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Remarks
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3dcompiler.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |