D3DGetBlobPart function
Retrieves a specific part from a compilation result.
Syntax
HRESULT WINAPI D3DGetBlobPart( in LPCVOID pSrcData, in SIZE_T SrcDataSize, in D3D_BLOB_PART Part, in UINT Flags, out ID3DBlob ppPart );
Parameters
- pSrcData [in]
-
Type: LPCVOID
A pointer to uncompiled shader data; either ASCII HLSL code or a compiled effect.
- SrcDataSize [in]
-
Type: SIZE_T
Length of uncompiled shader data that pSrcData points to.
- Part [in]
-
Type: D3D_BLOB_PART
A D3D_BLOB_PART-typed value that specifies the part of the buffer to retrieve.
- Flags [in]
-
Type: UINT
Flags that indicate how to retrieve the blob part. Currently, no flags are defined.
- ppPart [out]
-
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
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also