Texture3D.ResourceManagementMode Property
Gets the memory management mode to use for this volume texture resource.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public ResourceManagementMode ResourceManagementMode { get; }
Property Value
The memory management mode to use for this volume texture resource. If this value is ResourceManagementMode.Automatic, the runtime will recreate the resource when the graphics device is reset. If this value is ResourceManagementMode.Manual, this resource should be re-initialized when the graphics device is reset.
Remarks
On Windows, GetData and SetData will fail if Texture3D.ResourceManagementMode is ResourceManagementMode.Manual and the format cannot be used as a render target.
If this value is ResourceManagementMode.Automatic, Texture3D.ResourceUsage cannot be ResourceUsage.Dynamic.
See Also
Tasks
Reference
GraphicsDeviceManager.DeviceReset Event
Texture3D Class
Texture3D Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista