EffectContent Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Contains the source code for a DirectX Effect, loaded from a .fx file.
System.Object
Microsoft.Xna.Framework.Content.Pipeline.ContentItem
Microsoft.Xna.Framework.Content.Pipeline.Graphics.EffectContent
Microsoft.Xna.Framework.Content.Pipeline.ContentItem
Microsoft.Xna.Framework.Content.Pipeline.Graphics.EffectContent
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public class EffectContent : ContentItem
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The EffectContent type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
EffectContent | Initializes a new instance of EffectContent. |
Platforms | Name | Description | |
---|---|---|---|
EffectCode | Gets or sets the effect program source code. | ||
Identity | Gets or sets the identity of the content item. (Inherited from ContentItem.) | ||
Name | Gets or sets the name of the content item. (Inherited from ContentItem.) | ||
OpaqueData | Gets the opaque data of the content item. (Inherited from ContentItem.) |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop