Creates a buffer.
HRESULT D3DCreateBlob(
SIZE_T Size,
ID3DBlob **ppBlob
)
Size
Type: SIZE_T
[in] Number of bytes in the blob.
ppBlob
Type: ID3DBlob **
[out] The address of a pointer to the ID3DBlob interface that is used to retrieve the buffer.
Type: HRESULT
Returns one of the following Direct3D 10 Return Codes.
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.
Header: Declared in d3dcompiler.h.
Library: Use d3d11.lib.