Class Texture
public abstract class Texture : GraphicsResource, IDisposable
- Inheritance
-
Texture
- Implements
- Derived
- Inherited Members
Properties
Format
public SurfaceFormat Format { get; }
Property Value
LevelCount
public int LevelCount { get; }
Property Value
Methods
Dispose(bool)
The method that derived classes should override to implement disposing of managed and native resources.
protected override void Dispose(bool disposing)
Parameters
disposing
boolTrue if managed objects should be disposed.
Remarks
Native resources should always be released regardless of the value of the disposing parameter.
GraphicsDeviceResetting()
Called before the device is reset. Allows graphics resources to invalidate their state so they can be recreated after the device reset. Warning: This may be called after a call to Dispose() up until the resource is garbage collected.
protected override void GraphicsDeviceResetting()