Microsoft DirectX 9.0 SDK Update (October 2004)

What's New in DirectX 9.0 for Managed Code

Language:

Note: This documentation is preliminary and is subject to change.

The managed code documentation has not changed substantially since the Microsoft® DirectX® 9.0 SDK Update (Summer 2004). New FragmentLinker, PRTPerVertex, and SimpleAnimation samples are provided with this SDK update. Preliminary documentation on these samples is located in the sample folders at:

(SDK root)\Samples\Managed\Direct3D

The remainder of this page describes new features of DirectX 9.0 for Managed Code since the DirectX 9.0 SDK Update (Summer 2003).

New Features

API Changes

The following classes have changed or are new to DirectX 9.0 for Managed Code:

The following classes have been removed from DirectX 9.0 for Managed Code:

Class mappings from old classes to new classes:

Methods that use the ranks parameter, such as VertexBuffer.Lock or IndexBuffer.Lock, have changed to allow an unlimited number of dimensions to be used for locking a resource into an array. The ranks parameter is now defined as an array of integers Leave Site that represents the size of each dimension of the returning array.

The Commit method was removed from the Light class. Existing code relying on Light.Commit should be modified. Now, changes made to a Light object's properties do not take effect until Light.Update is called, or Light.Enabled is set to true.

Note: The Microsoft.DirectX.PrivateImplementationDetails namespace supports the .NET Framework infrastructure and is not intended to be used directly from your code.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center