Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3DCreateBlob function

Creates a buffer.

Syntax

HRESULT WINAPI D3DCreateBlob(
  in  SIZE_T Size,
  out ID3DBlob ppBlob
);

Parameters

Size [in]

Type: SIZE_T

Number of bytes in the blob.

ppBlob [out]

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

Header

D3Dcompiler.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

Functions

 

 

Show:
© 2017 Microsoft