Effect.Clone(Device) Method (Microsoft.DirectX.Direct3D)
Creates a clone of an 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.
Show: