Share via


Texture3D Members

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

Public Constructors

Name Description
Public Method Texture3D Creates an uninitialized volume texture resource of the given dimensions, specifying the memory management mode for the resource. To initialize a Texture3D from an existing file, see the static method ContentManager.Load or FromFile.

Public Properties

Name Description
Public Property Depth Gets the depth of this volume texture resource, in pixels.
Public Property Format Gets the pixel format for this texture resource.
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property Height Gets the height of this texture resource, in pixels.
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 memory management mode to use for this volume texture resource.
Public Property ResourceType (Inherited from GraphicsResource.)
Public Property ResourceUsage Gets a set of options identifying the behaviors of this resource.
Public Property Tag (Inherited from GraphicsResource.)
Public Property Width Gets the width of this texture resource, in pixels.

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 volume texture resource from a file.
Public Method GenerateMipMaps (Inherited from Texture.)
Public Method GetCreationParameters (Inherited from Texture.)
Public Method GetData Overloaded. Gets 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 two instances of Texture3D are equal.
Public Method Static op_Inequality Overloaded. Determines whether two instances of Texture3D 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 Retrieves a string representation of this object.

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

Texture3D Class
Microsoft.Xna.Framework.Graphics Namespace