GraphicsResource Class (Microsoft.Xna.Framework.Graphics)

System.Object
   Microsoft.Xna.Framework.Graphics.GraphicsResource
   More...

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public abstract class GraphicsResource : IDisposable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The GraphicsResource type exposes the following members.

  Platforms Name Description
GraphicsDevice  
IsDisposed  
Name  
Tag  
Top
  Platforms Name Description
Dispose()  (Implements IDisposable.Dispose().)
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. 
Finalize  (Overrides object.Finalize().)
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. 
ToString  (Overrides object.ToString().)
Top
  Platforms Name Description
Disposing  
Top
System.Object
   Microsoft.Xna.Framework.Graphics.GraphicsResource
      Microsoft.Xna.Framework.Graphics.BlendState
      Microsoft.Xna.Framework.Graphics.DepthStencilState
      Microsoft.Xna.Framework.Graphics.Effect
         Microsoft.Xna.Framework.Graphics.AlphaTestEffect
         Microsoft.Xna.Framework.Graphics.BasicEffect
         Microsoft.Xna.Framework.Graphics.DualTextureEffect
         Microsoft.Xna.Framework.Graphics.EffectMaterial
         Microsoft.Xna.Framework.Graphics.EnvironmentMapEffect
         Microsoft.Xna.Framework.Graphics.SkinnedEffect
         Microsoft.Xna.Framework.Graphics.SpriteEffect
      Microsoft.Xna.Framework.Graphics.IndexBuffer
         Microsoft.Xna.Framework.Graphics.DynamicIndexBuffer
      Microsoft.Xna.Framework.Graphics.OcclusionQuery
      Microsoft.Xna.Framework.Graphics.RasterizerState
      Microsoft.Xna.Framework.Graphics.SamplerState
      Microsoft.Xna.Framework.Graphics.SpriteBatch
      Microsoft.Xna.Framework.Graphics.Texture
         Microsoft.Xna.Framework.Graphics.Texture2D
            Microsoft.Xna.Framework.Graphics.RenderTarget2D
               Microsoft.Xna.Framework.Graphics.SwapChainRenderTarget
         Microsoft.Xna.Framework.Graphics.Texture3D
            Microsoft.Xna.Framework.Graphics.RenderTarget3D
         Microsoft.Xna.Framework.Graphics.TextureCube
            Microsoft.Xna.Framework.Graphics.RenderTargetCube
      Microsoft.Xna.Framework.Graphics.VertexBuffer
         Microsoft.Xna.Framework.Graphics.DynamicVertexBuffer
      Microsoft.Xna.Framework.Graphics.VertexDeclaration
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web