Partager via


GraphicsResource.GraphicsDevice Property

Gets the GraphicsDevice associated with this GraphicsResource.

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

Syntax

public GraphicsDevice GraphicsDevice { get; }

Property Value

The GraphicsDevice associated with this GraphicsResource.

See Also

Reference

GraphicsResource Class
GraphicsResource Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP