共用方式為


ID3DBlob::GetBufferSize method

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

Syntax

SIZE_T GetBufferSize();

Parameters

This method has no parameters.

Return value

Type: SIZE_T

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

Remarks

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 any Direct3D version.

Requirements

Header

D3DCommon.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3DBlob