Effect.Clone Method |
Language: |
Creates a clone of an effect.
Visual Basic Public Function Clone( _
ByVal dev As Device _
) As EffectC# public Effect Clone(
Device dev
);C++ public:
Effect^ Clone(
Device^ dev
);JScript public function Clone(
dev : Device
) : Effect;
dev Microsoft.DirectX.Direct3D.Device
The Device associated with the effect.
Microsoft.DirectX.Direct3D.Effect
An Effect object that contains the cloned effect.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. InvalidDataException The data is invalid.
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