TextureContent Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Provides a base class for all texture objects.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
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. 
Top
  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.)
Top
  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. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop