Texture2DContent Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
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.ContentItem
Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureContent
Microsoft.Xna.Framework.Content.Pipeline.Graphics.Texture2DContent
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 Texture2DContent : TextureContent
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The Texture2DContent type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
Texture2DContent |
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. (Inherited from TextureContent.) | ||
Identity | Gets or sets the identity of the content item. (Inherited from ContentItem.) | ||
Mipmaps | |||
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. (Inherited from TextureContent.) | ||
GenerateMipmaps | Generates a full set of mipmaps for the texture. (Inherited from TextureContent.) | ||
Validate | Verifies that all contents of this texture are present, correct and match the capabilities of the device. (Overrides TextureContent.Validate().) |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop