Sdílet prostřednictvím


TextureCreationParameters.ResourceUsage Property

Note

This property is available only when developing for Windows.

Gets or sets a set of options identifying the behaviors of this resource.

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

Syntax

public ResourceUsage ResourceUsage { get; set; }

Property Value

A set of options identifying the behaviors of this resource.

Remarks

If ResourceManagementMode is ResourceManagementMode.Automatic, this value cannot be ResourceUsage.Dynamic.

See Also

Reference

TextureCreationParameters Structure
TextureCreationParameters Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista