ReactOS 0.4.17-dev-934-g091855f
d3dx10math.h File Reference
#include "d3dx10.h"
#include <math.h>
Include dependency graph for d3dx10math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  D3DXFLOAT16
 
struct  D3DXCOLOR
 
struct  D3DXVECTOR2
 
struct  D3DXVECTOR4
 

Typedefs

typedef enum _D3DX_CPU_OPTIMIZATION D3DX_CPU_OPTIMIZATION
 
typedef struct D3DXFLOAT16 D3DXFLOAT16
 
typedef struct D3DXFLOAT16 * LPD3DXFLOAT16
 
typedef struct D3DXCOLOR D3DXCOLOR
 
typedef struct D3DXCOLOR * LPD3DXCOLOR
 
typedef struct D3DXVECTOR2 D3DXVECTOR2
 
typedef struct D3DXVECTOR2 * LPD3DXVECTOR2
 
typedef struct _D3DVECTOR D3DXVECTOR3
 
typedef struct _D3DVECTOR * LPD3DXVECTOR3
 
typedef struct D3DXVECTOR4 D3DXVECTOR4
 
typedef struct D3DXVECTOR4 * LPD3DXVECTOR4
 
typedef struct _D3DMATRIX D3DXMATRIX
 
typedef struct _D3DMATRIX * LPD3DXMATRIX
 

Enumerations

enum  _D3DX_CPU_OPTIMIZATION { D3DX_NOT_OPTIMIZED , D3DX_3DNOW_OPTIMIZED , D3DX_SSE2_OPTIMIZED , D3DX_SSE_OPTIMIZED }
 

Functions

D3DXCOLOR * D3DXColorAdd (D3DXCOLOR *out, D3DXCOLOR c1, D3DXCOLOR c2)
 
D3DXCOLOR * D3DXColorLerp (D3DXCOLOR *out, D3DXCOLOR c1, D3DXCOLOR c2, float s)
 
D3DXCOLOR * D3DXColorModulate (D3DXCOLOR *out, D3DXCOLOR c1, D3DXCOLOR c2)
 
D3DXCOLOR * D3DXColorScale (D3DXCOLOR *out, D3DXCOLOR c, float s)
 
D3DXCOLOR * D3DXColorSubtract (D3DXCOLOR *out, D3DXCOLOR c1, D3DXCOLOR c2)
 
D3DX_CPU_OPTIMIZATION WINAPI D3DXCpuOptimizations (BOOL enable)
 

Typedef Documentation

◆ D3DX_CPU_OPTIMIZATION

◆ D3DXCOLOR

◆ D3DXFLOAT16

◆ D3DXMATRIX

Definition at line 246 of file d3dx10math.h.

◆ D3DXVECTOR2

◆ D3DXVECTOR3

Definition at line 174 of file d3dx10math.h.

◆ D3DXVECTOR4

◆ LPD3DXCOLOR

◆ LPD3DXFLOAT16

◆ LPD3DXMATRIX

Definition at line 246 of file d3dx10math.h.

◆ LPD3DXVECTOR2

◆ LPD3DXVECTOR3

Definition at line 174 of file d3dx10math.h.

◆ LPD3DXVECTOR4

Enumeration Type Documentation

◆ _D3DX_CPU_OPTIMIZATION

Enumerator
D3DX_NOT_OPTIMIZED 
D3DX_3DNOW_OPTIMIZED 
D3DX_SSE2_OPTIMIZED 
D3DX_SSE_OPTIMIZED 

Definition at line 55 of file d3dx10math.h.

56{
enum _D3DX_CPU_OPTIMIZATION D3DX_CPU_OPTIMIZATION
@ D3DX_SSE_OPTIMIZED
Definition: d3dx10math.h:60
@ D3DX_3DNOW_OPTIMIZED
Definition: d3dx10math.h:58
@ D3DX_SSE2_OPTIMIZED
Definition: d3dx10math.h:59
@ D3DX_NOT_OPTIMIZED
Definition: d3dx10math.h:57

Function Documentation

◆ D3DXColorAdd()

D3DXCOLOR * D3DXColorAdd ( D3DXCOLOR *  out,
D3DXCOLOR  c1,
D3DXCOLOR  c2 
)

Referenced by D3DXColorTest().

◆ D3DXColorLerp()

D3DXCOLOR * D3DXColorLerp ( D3DXCOLOR *  out,
D3DXCOLOR  c1,
D3DXCOLOR  c2,
float  s 
)

Referenced by D3DXColorTest().

◆ D3DXColorModulate()

D3DXCOLOR * D3DXColorModulate ( D3DXCOLOR *  out,
D3DXCOLOR  c1,
D3DXCOLOR  c2 
)

Referenced by D3DXColorTest().

◆ D3DXColorScale()

D3DXCOLOR * D3DXColorScale ( D3DXCOLOR *  out,
D3DXCOLOR  c,
float  s 
)

Referenced by D3DXColorTest().

◆ D3DXColorSubtract()

D3DXCOLOR * D3DXColorSubtract ( D3DXCOLOR *  out,
D3DXCOLOR  c1,
D3DXCOLOR  c2 
)

Referenced by D3DXColorTest().

◆ D3DXCpuOptimizations()

D3DX_CPU_OPTIMIZATION WINAPI D3DXCpuOptimizations ( BOOL  enable)

Definition at line 165 of file d3dx10_43_main.c.

166{
167 FIXME("enable %#x stub.\n", enable);
168
169 return D3DX_NOT_OPTIMIZED;
170}
#define FIXME(fmt,...)
Definition: precomp.h:53
GLboolean enable
Definition: glext.h:11120