Removes unwanted blobs from a compilation result.
HRESULT D3DStripShader(
LPCVOID pShaderBytecode,
SIZE_T BytecodeLength,
UINT uStripFlags,
ID3DBlob **ppStrippedBlob
)
pShaderBytecode
Type: LPCVOID
[in] A pointer to source data as compiled HLSL code.
BytecodeLength
Type: SIZE_T
[in] Length of pSrcData.
uStripFlags
Type: UINT
[in] Strip flag options, represented by D3DCOMPILER_STRIP_FLAGS.
ppStrippedBlob
Type: ID3DBlob **
[out] A pointer to a variable that receives a pointer to the ID3DBlob interface that you can use to access the shader code after the unwanted data has been stripped out.
Type: HRESULT
Returns one of the Direct3D 10 Return Codes.
Header: Declared in d3dcompiler.h.
Library: Use d3d11.lib.