D3DXFrameDestroy function
Destroys the subtree of frames under the root, including the root.
Syntax
HRESULT D3DXFrameDestroy(
_In_ LPD3DXFRAME pFrameRoot,
_In_ LPD3DXALLOCATEHIERARCHY pAlloc
);
Parameters
-
pFrameRoot [in]
-
Type: LPD3DXFRAME
Pointer to the root node.
-
pAlloc [in]
-
Type: LPD3DXALLOCATEHIERARCHY
Allocation interface used to deallocate nodes of the frame hierarchy.
Return value
Type: HRESULT
If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following values: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for