Share via


BasicEffect Constructor (GraphicsDevice, EffectPool)

Initializes a new instance of the BasicEffect class.

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

Syntax

public BasicEffect (
         GraphicsDevice device,
         EffectPool effectPool
)

Parameters

  • device
    The graphics device that will create the effect.
  • effectPool
    Specifies a pool of resources to share between effects.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista