Share via


TextureCube Members

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

Public Constructors

Name Description
Public Method TextureCube Overloaded. Initializes a new instance of the TextureCube class.

Public Properties

Name Description
Public Property Format Gets the pixel format for this texture resource.
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property LevelCount (Inherited from Texture.)
Public Property LevelOfDetail (Inherited from Texture.)
Public Property Name (Inherited from GraphicsResource.)
Public Property Priority (Inherited from GraphicsResource.)
Public Property ResourceManagementMode Gets the class of memory allocated for this cube texture resource.
Public Property ResourceType (Inherited from GraphicsResource.)
Public Property ResourceUsage Gets a set of options identifying the behaviors of this resource.
Public Property Size Gets the width and height of this texture resource, in pixels.
Public Property Tag (Inherited from GraphicsResource.)

Public Methods

Name Description
Public Method Dispose Overloaded. Releases the resources used by the TextureCube class.
Public Method Equals Overloaded. Determines whether two TextureCube instances are equal.
Public Method Static FromFile Overloaded. Creates a cube texture resource from a file.
Public Method GenerateMipMaps (Inherited from Texture.)
Public Method GetCreationParameters (Inherited from Texture.)
Public Method GetData Overloaded. Returns a copy of the texture data.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetTextureInformation (Inherited from Texture.)
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Overloaded. Determines whether the specified cube textures are equal.
Public Method Static op_Inequality Overloaded. Determines whether the specified cube textures are not equal.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Save (Inherited from Texture.)
Public Method SetData Overloaded. Copies array data to the texture.
Public Method ToString Returns a String that represents the current TextureCube.

Protected Methods

Name Description
Protected Method Finalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
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

TextureCube Class
Microsoft.Xna.Framework.Graphics Namespace