Export (0) Print
Expand All

ID3DXMATRIXStack::GetTop method

Retrieves the current matrix at the top of the stack.

Syntax


D3DXMATRIX* GetTop();

Parameters

This method has no parameters.

Return value

Type: D3DXMATRIX*

This method returns a pointer to a D3DXMATRIX structure representing the current matrix.

Remarks

The D3DXMATRIX pointer returned by this method is not guaranteed to be valid after subsequent stack operations.

Note that this method does not remove the current matrix from the top of the stack; rather, it just returns the current matrix.

Requirements

Header

D3dx9math.h

Library

D3dx9.lib

See also

ID3DXMATRIXStack
ID3DXMATRIXStack::Pop
ID3DXMATRIXStack::Push

 

 

Community Additions

ADD
Show:
© 2014 Microsoft