Share via


TextureCollection Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents a collection of Texture objects.

Inheritance Hierarchy

System.Object
  Microsoft.Xna.Framework.Graphics.TextureCollection

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

Syntax

'Declaration
Public NotInheritable Class TextureCollection
public sealed class TextureCollection

The TextureCollection type exposes the following members.

Properties

  Name Description
Public property Item Gets or sets the Texture at the specified sampler number.

Top

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.