This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Retrieves a specific part from a compilation result.
HRESULT D3DGetBlobPart( [in] LPCVOID pSrcData, [in] SIZE_T SrcDataSize, [in] D3D_BLOB_PART Part, [in] UINT Flags, [out] ID3DBlob **ppPart);[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.
Type:HRESULT
Returns one of theDirect3D 11 return codes.
D3DGetBlobPart retrieves the part of a blob (arbitrary length data buffer) that contains the type of data that thePart parameter specifies.
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3dcompiler.h |
| Library | D3DCompiler.lib |
| DLL | D3DCompiler_47.dll |
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?