Share via


BasicEffect Constructor (GraphicsDevice, BasicEffect)

Initializes a new instance of the BasicEffect class.

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

Syntax

protected BasicEffect (
         GraphicsDevice device,
         BasicEffect clone
)

Parameters

  • device
    The graphics device that will create the effect.
  • clone
    The effect to clone.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista