XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

D3DStripShader function

Removes unwanted blobs from a compilation result.

Syntax

HRESULT WINAPI D3DStripShader(
  in   LPCVOID pShaderBytecode,
  in   SIZE_T BytecodeLength,
  in   UINT uStripFlags,
  out  ID3DBlob *ppStrippedBlob
);

Parameters

pShaderBytecode [in]

Type: LPCVOID

A pointer to source data as compiled HLSL code.

BytecodeLength [in]

Type: SIZE_T

Length of pSrcData.

uStripFlags [in]

Type: UINT

Strip flag options, represented by D3DCOMPILER_STRIP_FLAGS.

ppStrippedBlob [out]

Type: ID3DBlob*

A pointer to a variable that receives a pointer to the ID3DBlob interface that you can use to access the unwanted stripped out shader code.

Return value

Type: HRESULT

Returns one of the Direct3D 11 return codes.

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

D3Dcompiler.h

Library

D3dcompiler_xx.dll

See also

Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft