D3DXCreateMatrixStack function (D3DX10Math.h)

Note

The D3DX10 utility library is deprecated. We recommend that you use DirectXMath instead along with this header from GitHub.

Create a matrix stack.

Syntax

HRESULT D3DXCreateMatrixStack(
  _In_  UINT              Flags,
  _Out_ LPD3DXMATRIXSTACK *ppStack
);

Parameters

Flags [in]

Type: UINT

Not implemented. Specify zero.

ppStack [out]

Type: LPD3DXMATRIXSTACK*

The address of a pointer to a matrix stack (see ID3DXMatrixStack Interface).

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 10 Return Codes.

Requirements

Requirement Value
Header
D3DX10Math.h
Library
D3DX10.lib

See also

Math Functions