TextureContent Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Provides a base class for all texture objects.
System.Object
Microsoft.Xna.Framework.Content.Pipeline.ContentItem
Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureContent
Microsoft.Xna.Framework.Content.Pipeline.Graphics.Texture2DContent
Microsoft.Xna.Framework.Content.Pipeline.Graphics.Texture3DContent
Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureCubeContent
Microsoft.Xna.Framework.Content.Pipeline.ContentItem
Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureContent
Microsoft.Xna.Framework.Content.Pipeline.Graphics.Texture2DContent
Microsoft.Xna.Framework.Content.Pipeline.Graphics.Texture3DContent
Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureCubeContent
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 abstract class TextureContent : ContentItem
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The TextureContent type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
TextureContent | Initializes a new instance of TextureContent with the specified face collection. |
Platforms | Name | Description | |
---|---|---|---|
Faces | Collection of image faces that hold a single mipmap chain for a regular 2D texture, six chains for a cube map, or an arbitrary number for volume and array textures. | ||
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.) |
Platforms | Name | Description | |
---|---|---|---|
ConvertBitmapType | Converts all bitmaps for this texture to a different format. | ||
GenerateMipmaps | Generates a full set of mipmaps for the texture. | ||
Validate | Verifies that all contents of this texture are present, correct and match the capabilities of the device. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop