Share via


BasicEffect.Clone Method

Creates a clone of an effect.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public override Effect Clone (
         GraphicsDevice device
)

Parameters

  • device
    The cloned effect.

Return Value

The device associated with the effect.

See Also

Reference

BasicEffect Class
BasicEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista