D3DCreateBlob function (d3dcompiler.h)
Creates a buffer.
Syntax
HRESULT D3DCreateBlob(
[in] SIZE_T Size,
[out] ID3DBlob **ppBlob
);
Parameters
[in] Size
Type: SIZE_T
Number of bytes in the blob.
[out] ppBlob
Type: ID3DBlob**
The address of a pointer to the ID3DBlob interface that is used to retrieve the buffer.
Return value
Type: HRESULT
Returns one of the Direct3D 11 return codes.
Remarks
The latest D3dcompiler_nn.dll contains the D3DCreateBlob compiler function. Therefore, you are no longer required to create and use an arbitrary length data buffer by using the D3D10CreateBlob function that is contained in D3d10.dll.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3dcompiler.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for