This interface is used to return arbitrary-length data.
The ID3D10Blob interface inherits from the IUnknown interface. ID3D10Blob also has these types of members:
The ID3D10Blob interface has these methods.
|ID3D10Blob::GetBufferPointer||Gets a pointer to the data.|
|ID3D10Blob::GetBufferSize||Gets the size.|
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. ID3DBlob is version-neutral and can be used in code for any Direct3D version.
Blobs can be used as a data buffer, storing vertex, adjacency, and material information during mesh optimization and loading operations. Also, these objects are used to return object code and error messages in APIs that compile vertex, geometry and pixel shaders.