Effect Constructor
Initializes a new instance of this class.
Overload List
Name | Description |
---|---|
Effect (Effect) | Creates an instance of this object. |
Effect (GraphicsDevice, Byte[]) | Creates an instance of this object. |
Tip
In most cases, it is preferrable to initialize a new instance of an effect using the ContentManager.Load<Effect> method rather than using the Effect constructors.
See Also
Concepts
Shader Content Catalog at App Hub Online
Reference
Effect Class
Effect Members
Microsoft.Xna.Framework.Graphics Namespace