D3DGetBlobPart function

Retrieves a specific part from a compilation result.

Syntax

HRESULT D3DGetBlobPart(
  LPCVOID       pSrcData,
  SIZE_T        SrcDataSize,
  D3D_BLOB_PART Part,
  UINT          Flags,
  ID3DBlob      **ppPart
);

Parameters

pSrcData

Type: LPCVOID

A pointer to uncompiled shader data; either ASCII HLSL code or a compiled effect.

SrcDataSize

Type: SIZE_T

Length of uncompiled shader data that pSrcData points to.

Part

Type: D3D_BLOB_PART

A D3D_BLOB_PART-typed value that specifies the part of the buffer to retrieve.

Flags

Type: UINT

Flags that indicate how to retrieve the blob part. Currently, no flags are defined.

ppPart

Type: ID3DBlob**

The address of a pointer to the ID3DBlob interface that is used to retrieve the specified part of the buffer.

Return Value

Type: HRESULT

Returns one of the Direct3D 11 return codes.

Remarks

D3DGetBlobPart retrieves the part of a blob (arbitrary length data buffer) that contains the type of data that the Part parameter specifies.

Requirements

   
Target Platform Windows
Header d3dcompiler.h
Library D3DCompiler.lib
DLL D3DCompiler_47.dll

See Also

Functions