Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 1 rated this helpful - Rate this topic

D3DStripShader function

Note  You can use this API to develop your Windows Store apps, but you can't use it in apps that you submit to the Windows Store.

Removes unwanted blobs from a compilation result.

Syntax

HRESULT 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.

Requirements

Header

D3Dcompiler.h

Library

D3dcompiler_xx.dll

See also

Functions

 

 

Send comments about this topic to Microsoft

Build date: 3/5/2013

Community Additions

© 2013 Microsoft. All rights reserved.