Effect Constructor (Effect)

Creates an instance of this object.

Syntax

'Declaration
Protected Sub New ( _
         cloneSource As Effect _
)
protected Effect (
         Effect cloneSource
)
protected:
Effect(
         Effect cloneSource
)

Parameters

  • cloneSource
    Type: Effect
    An object to copy.

Exceptions

Exception type Condition
OutOfMemoryException There is not enough memory to create this resource.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone