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

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

Writes a memory blob to a file on disk.

Syntax

HRESULT WINAPI D3DWriteBlobToFile(
  in  ID3DBlob *pBlob,
  in  LPCWSTR pFileName,
  in  BOOL bOverwrite
);

Parameters

pBlob [in]

Type: ID3DBlob*

A pointer to a ID3DBlob interface that contains the memory blob to write to the file that the pFileName parameter specifies.

pFileName [in]

Type: LPCWSTR

A pointer to a constant null-terminated string that contains the name of the file to which to write.

bOverwrite [in]

Type: BOOL

A Boolean value that specifies whether to overwrite information in the pFileName file. TRUE specifies to overwrite information and FALSE specifies not to overwrite information.

Return value

Type: HRESULT

Returns one of the Direct3D 11 return codes.

Remarks

Note  The D3dcompiler_44.dll or later version of the file contains the D3DWriteBlobToFile compiler function.

Requirements

Header

D3Dcompiler.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft