Frame.Destroy Method |
Language: |
Destroys the subtree of frames under the root, including the root.
Visual Basic Public Shared Sub Destroy( _
ByVal frameRoot As Frame, _
ByVal allocHierarchy As AllocateHierarchy _
)C# public static void Destroy(
Frame frameRoot,
AllocateHierarchy allocHierarchy
);C++ public:
static void Destroy(
Frame^ frameRoot,
AllocateHierarchy^ allocHierarchy
);JScript public static function Destroy(
frameRoot : Frame,
allocHierarchy : AllocateHierarchy
);
frameRoot Microsoft.DirectX.Direct3D.Frame
A Frame object that represents the root node in the frame hierarchy.allocHierarchy Microsoft.DirectX.Direct3D.AllocateHierarchy
An AllocateHierarchy object used to deallocate nodes of the frame hierarchy.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. OutOfMemoryException Microsoft Direct3D could not allocate sufficient memory to complete the call.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center