Export (0) Print
Expand All

ID3DXMATRIXStack::Push method

Adds a matrix to the stack.

Syntax


HRESULT Push();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Remarks

This method increments the count of items on the stack by 1, duplicating the current matrix. The stack will grow dynamically as more items are added.

Requirements

Header

D3dx9math.h

Library

D3dx9.lib

See also

ID3DXMATRIXStack
ID3DXMATRIXStack::GetTop
ID3DXMATRIXStack::Pop

 

 

Community Additions

ADD
Show:
© 2015 Microsoft