次の方法で共有


Texture Members

The following tables list the members exposed by the Texture type.

Public Properties

Name Description
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property LevelCount Gets the number of texture levels in a multilevel texture.
Public Property LevelOfDetail Gets or sets the most detailed level-of-detail for a managed texture.
Public Property Name (Inherited from GraphicsResource.)
Public Property Priority (Inherited from GraphicsResource.)
Public Property ResourceType (Inherited from GraphicsResource.)
Public Property Tag (Inherited from GraphicsResource.)

Public Methods

Name Description
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals Overloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public Method Static FromFile Overloaded. Creates a texture resource from a file.
Public Method GenerateMipMaps Request generation of mipmap sublevels for a render target texture.
Public Method Static GetCreationParameters Overloaded. Loads texture creation parameters from a file.
Public Method GetHashCode Gets the hash code for this instance.
Public Method Static GetTextureInformation Overloaded. Retrieves information about a given image file.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Overloaded. Determines whether the specified textures are equal.
Public Method Static op_Inequality Overloaded. Determines whether the specified textures are not equal.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Save Saves a texture to a file.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from GraphicsResource.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method raise_Disposing (Inherited from GraphicsResource.)

Public Events

Name Description
Public Event Disposing (Inherited from GraphicsResource.)

See Also

Reference

Texture Class
Microsoft.Xna.Framework.Graphics Namespace