Effect.Clone(Device) Method (Microsoft.DirectX.Direct3D)
Creates a clone of an effect.
Definition
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;
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
The method call is invalid. For example, a method's parameter might contain an invalid value.
The data is invalid.