Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

D3DGetBlobPart function (d3dcompiler.h)

Feedback

In this article

Retrieves a specific part from a compilation result.

Syntax

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

Parameters

[in] pSrcData

Type:LPCVOID

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

[in] SrcDataSize

Type:SIZE_T

Length of uncompiled shader data thatpSrcData points to.

[in] Part

Type:D3D_BLOB_PART

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

[in] Flags

Type:UINT

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

[out] ppPart

Type:ID3DBlob**

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

Return value

Type:HRESULT

Returns one of theDirect3D 11 return codes.

Remarks

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

Requirements

RequirementValue
Target PlatformWindows
Headerd3dcompiler.h
LibraryD3DCompiler.lib
DLLD3DCompiler_47.dll

See also

Functions


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?