ID3DBlob Interface

This interface is used to return arbitrary length data.

Mitglieder

ID3DBlobSchnittstelle erbt von der IUnknown-Schnittstelle. ID3DBlob umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

ID3DBlobSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
GetBufferPointer

Retrieves a pointer to the blob's data.

GetBufferSize

Retrieves the size, in bytes, of the blob's data.

 

Hinweise

An ID3DBlob is obtained by calling the D3DCreateBlob function. D3DCreateBlob is contained in D3dcompiler.lib or D3dcompiler_nn.dll.

The ID3DBlob interface is type defined in the D3DCommon.h header file as a ID3D10Blob interface, which is fully defined in the D3DCommon.h header file.


typedef ID3D10Blob ID3DBlob;

ID3DBlob is version neutral and can be used in code for Direct3D 10 and later versions.

Blobs can be used as data buffers. Blobs can also be used for storing vertex, adjacency, and material information during mesh optimization, and for loading operations. Also, these objects are used to return object code and error messages in APIs that compile vertex, geometry, and pixel shaders.

Anforderungen

Header

D3Dcommon.h

Bibliothek

D3dcompiler.lib or D3dcompiler_nn.dll

Siehe auch

Common Version Interfaces

D3DCreateBlob

ID3D10Blob