Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Syntax
HRESULT D3DReadFileToBlob(
[in] LPCWSTR pFileName,
[out] ID3DBlob **ppContents
);
Parameters
[in] pFileName
A pointer to a constant null-terminated string that contains the name of the file to read into memory.
[out] ppContents
A pointer to a variable that receives a pointer to the ID3DBlob interface that contains information that D3DReadFileToBlob read from the pFileName file. You can use this ID3DBlob interface to access the file information and pass it to other compiler functions.
Return value
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 |