Microsoft DirectX 9.0 SDK Update (October 2004)

Effect.Clone Method

Language:

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

Creates a clone of an effect.

Definition

Visual Basic .NET Public Function Clone( _
    ByVal dev As Device _
) As Effect
C# public Effect Clone(
    Device dev
);
Managed C++ public: Effect* Clone(
    Device *dev
);
JScript .NET public function Clone(
    dev : Device
) : Effect;

Parameters

dev Microsoft.DirectX.Direct3D.Device. The Device associated with the effect.

Return Value

Microsoft.DirectX.Direct3D.Effect . An Effect object that contains the cloned effect.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
InvalidDataException The data is invalid.


© 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