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

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

Decompresses one or more shaders from a compressed set.

Syntax

HRESULT WINAPI D3DDecompressShaders(
  in   LPCVOID pSrcData,
  in   SIZE_T SrcDataSize,
  in   UINT uNumShaders,
  in   UINT uStartIndex,
  in   UINT *pIndices,
  in   UINT uFlags,
  out  ID3DBlob **ppShaders,
  out  UINT *pTotalShaders
);

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.

uNumShaders [in]

Type: UINT

The number of shaders to decompress.

uStartIndex [in]

Type: UINT

The index of the first shader to decompress.

pIndices [in]

Type: UINT*

An array of indexes that represent the shaders to decompress.

uFlags [in]

Type: UINT

Flags that indicate how to decompress. Currently, no flags are defined.

ppShaders [out]

Type: ID3DBlob**

The address of a pointer to the ID3DBlob interface that is used to retrieve the decompressed shader data.

pTotalShaders [out]

Type: UINT*

A pointer to a variable that receives the total number of shaders that D3DDecompressShaders decompressed.

Return value

Type: HRESULT

Returns one of the Direct3D 11 return codes.

Requirements

Header

D3Dcompiler.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft