次の方法で共有


Effect.Clone Method

Creates a clone of an effect.

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

Syntax

public virtual Effect Clone (
         GraphicsDevice device
)

Parameters

  • device
    The device associated with the effect.

Return Value

The cloned effect.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista