Share via


BasicEffect Constructor (GraphicsDevice)

Creates an instance of this object.

Syntax

'Declaration
Public Sub New ( _
         device As GraphicsDevice _
)
public BasicEffect (
         GraphicsDevice device
)
public:
BasicEffect(
         GraphicsDevice device
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone