D3DXCpuOptimizations function

Enables or disables CPU optimizations.

Syntax


D3DX_CPU_OPTIMIZATION D3DXCpuOptimizations(
  _In_ BOOL Enable
);

Parameters

Enable [in]

Type: BOOL

TRUE to enable CPU optimizations; otherwise FALSE.

Return value

Type: D3DX_CPU_OPTIMIZATION

Returns the type of CPU detected, and for which optimizations exist (see D3DX_CPU_OPTIMIZATION).

Requirements

Header

D3DX10Math.h

Library

D3DX10.lib

See also

Math Functions

 

 

Show: