d3d9.dllPush
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXMatrixStack::Push Method


Adds a matrix to the stack.

Syntax

HRESULT Push(VOID);

Return Value

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.

See Also

ID3DXMatrixStack::GetTop, ID3DXMatrixStack::Pop


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.