### YamlMime:ManagedReference items: - uid: MLEM.Extensions.GraphicsExtensions.TargetContext commentId: T:MLEM.Extensions.GraphicsExtensions.TargetContext id: GraphicsExtensions.TargetContext parent: MLEM.Extensions children: - MLEM.Extensions.GraphicsExtensions.TargetContext.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,Microsoft.Xna.Framework.Graphics.RenderTarget2D) - MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose langs: - csharp - vb name: GraphicsExtensions.TargetContext nameWithType: GraphicsExtensions.TargetContext fullName: MLEM.Extensions.GraphicsExtensions.TargetContext type: Struct source: remote: path: MLEM/Extensions/GraphicsExtensions.cs branch: master repo: https://github.com/Ellpeck/MLEM id: TargetContext path: ../MLEM/Extensions/GraphicsExtensions.cs startLine: 81 assemblies: - MLEM namespace: MLEM.Extensions summary: "\nRepresents a context in which a is applied.\nThis class should be used with .\n" example: [] syntax: content: 'public struct TargetContext : IDisposable' content.vb: >- Public Structure TargetContext Implements IDisposable implements: - System.IDisposable inheritedMembers: - System.ValueType.Equals(System.Object) - System.ValueType.GetHashCode - System.ValueType.ToString - System.Object.Equals(System.Object,System.Object) - System.Object.GetType - System.Object.ReferenceEquals(System.Object,System.Object) modifiers.csharp: - public - struct modifiers.vb: - Public - Structure - uid: MLEM.Extensions.GraphicsExtensions.TargetContext.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,Microsoft.Xna.Framework.Graphics.RenderTarget2D) commentId: M:MLEM.Extensions.GraphicsExtensions.TargetContext.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,Microsoft.Xna.Framework.Graphics.RenderTarget2D) id: '#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,Microsoft.Xna.Framework.Graphics.RenderTarget2D)' parent: MLEM.Extensions.GraphicsExtensions.TargetContext langs: - csharp - vb name: TargetContext(GraphicsDevice, RenderTarget2D) nameWithType: GraphicsExtensions.TargetContext.TargetContext(GraphicsDevice, RenderTarget2D) fullName: MLEM.Extensions.GraphicsExtensions.TargetContext.TargetContext(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.RenderTarget2D) type: Constructor source: remote: path: MLEM/Extensions/GraphicsExtensions.cs branch: master repo: https://github.com/Ellpeck/MLEM id: .ctor path: ../MLEM/Extensions/GraphicsExtensions.cs startLine: 91 assemblies: - MLEM namespace: MLEM.Extensions summary: "\nCreates a new target context with the given settings.\n" example: [] syntax: content: public TargetContext(GraphicsDevice device, RenderTarget2D target) parameters: - id: device type: Microsoft.Xna.Framework.Graphics.GraphicsDevice description: The graphics device to apply the target on - id: target type: Microsoft.Xna.Framework.Graphics.RenderTarget2D description: The target to apply content.vb: Public Sub New(device As GraphicsDevice, target As RenderTarget2D) overload: MLEM.Extensions.GraphicsExtensions.TargetContext.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose commentId: M:MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose id: Dispose parent: MLEM.Extensions.GraphicsExtensions.TargetContext langs: - csharp - vb name: Dispose() nameWithType: GraphicsExtensions.TargetContext.Dispose() fullName: MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose() type: Method source: remote: path: MLEM/Extensions/GraphicsExtensions.cs branch: master repo: https://github.com/Ellpeck/MLEM id: Dispose path: ../MLEM/Extensions/GraphicsExtensions.cs startLine: 100 assemblies: - MLEM namespace: MLEM.Extensions summary: "\nDisposes this target context, which causes the graphics device's previous render targets to be re-applied.\n" example: [] syntax: content: public void Dispose() content.vb: Public Sub Dispose overload: MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose* implements: - System.IDisposable.Dispose modifiers.csharp: - public modifiers.vb: - Public references: - uid: Microsoft.Xna.Framework.Graphics.RenderTarget2D commentId: T:Microsoft.Xna.Framework.Graphics.RenderTarget2D parent: Microsoft.Xna.Framework.Graphics isExternal: true name: RenderTarget2D nameWithType: RenderTarget2D fullName: Microsoft.Xna.Framework.Graphics.RenderTarget2D - uid: MLEM.Extensions.GraphicsExtensions.WithRenderTarget(Microsoft.Xna.Framework.Graphics.GraphicsDevice,Microsoft.Xna.Framework.Graphics.RenderTarget2D) commentId: M:MLEM.Extensions.GraphicsExtensions.WithRenderTarget(Microsoft.Xna.Framework.Graphics.GraphicsDevice,Microsoft.Xna.Framework.Graphics.RenderTarget2D) isExternal: true - uid: MLEM.Extensions commentId: N:MLEM.Extensions name: MLEM.Extensions nameWithType: MLEM.Extensions fullName: MLEM.Extensions - uid: System.IDisposable commentId: T:System.IDisposable parent: System isExternal: true name: IDisposable nameWithType: IDisposable fullName: System.IDisposable - uid: System.ValueType.Equals(System.Object) commentId: M:System.ValueType.Equals(System.Object) parent: System.ValueType isExternal: true name: Equals(Object) nameWithType: ValueType.Equals(Object) fullName: System.ValueType.Equals(System.Object) spec.csharp: - uid: System.ValueType.Equals(System.Object) name: Equals nameWithType: ValueType.Equals fullName: System.ValueType.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.ValueType.Equals(System.Object) name: Equals nameWithType: ValueType.Equals fullName: System.ValueType.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) - uid: System.ValueType.GetHashCode commentId: M:System.ValueType.GetHashCode parent: System.ValueType isExternal: true name: GetHashCode() nameWithType: ValueType.GetHashCode() fullName: System.ValueType.GetHashCode() spec.csharp: - uid: System.ValueType.GetHashCode name: GetHashCode nameWithType: ValueType.GetHashCode fullName: System.ValueType.GetHashCode isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.ValueType.GetHashCode name: GetHashCode nameWithType: ValueType.GetHashCode fullName: System.ValueType.GetHashCode isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System.ValueType.ToString commentId: M:System.ValueType.ToString parent: System.ValueType isExternal: true name: ToString() nameWithType: ValueType.ToString() fullName: System.ValueType.ToString() spec.csharp: - uid: System.ValueType.ToString name: ToString nameWithType: ValueType.ToString fullName: System.ValueType.ToString isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.ValueType.ToString name: ToString nameWithType: ValueType.ToString fullName: System.ValueType.ToString isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System.Object.Equals(System.Object,System.Object) commentId: M:System.Object.Equals(System.Object,System.Object) parent: System.Object isExternal: true name: Equals(Object, Object) nameWithType: Object.Equals(Object, Object) fullName: System.Object.Equals(System.Object, System.Object) spec.csharp: - uid: System.Object.Equals(System.Object,System.Object) name: Equals nameWithType: Object.Equals fullName: System.Object.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.Equals(System.Object,System.Object) name: Equals nameWithType: Object.Equals fullName: System.Object.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) - uid: System.Object.GetType commentId: M:System.Object.GetType parent: System.Object isExternal: true name: GetType() nameWithType: Object.GetType() fullName: System.Object.GetType() spec.csharp: - uid: System.Object.GetType name: GetType nameWithType: Object.GetType fullName: System.Object.GetType isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.GetType name: GetType nameWithType: Object.GetType fullName: System.Object.GetType isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System.Object.ReferenceEquals(System.Object,System.Object) commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) parent: System.Object isExternal: true name: ReferenceEquals(Object, Object) nameWithType: Object.ReferenceEquals(Object, Object) fullName: System.Object.ReferenceEquals(System.Object, System.Object) spec.csharp: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals nameWithType: Object.ReferenceEquals fullName: System.Object.ReferenceEquals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals nameWithType: Object.ReferenceEquals fullName: System.Object.ReferenceEquals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) - uid: Microsoft.Xna.Framework.Graphics commentId: N:Microsoft.Xna.Framework.Graphics isExternal: true name: Microsoft.Xna.Framework.Graphics nameWithType: Microsoft.Xna.Framework.Graphics fullName: Microsoft.Xna.Framework.Graphics - uid: System commentId: N:System isExternal: true name: System nameWithType: System fullName: System - uid: System.ValueType commentId: T:System.ValueType parent: System isExternal: true name: ValueType nameWithType: ValueType fullName: System.ValueType - uid: System.Object commentId: T:System.Object parent: System isExternal: true name: Object nameWithType: Object fullName: System.Object - uid: MLEM.Extensions.GraphicsExtensions.TargetContext.#ctor* commentId: Overload:MLEM.Extensions.GraphicsExtensions.TargetContext.#ctor name: TargetContext nameWithType: GraphicsExtensions.TargetContext.TargetContext fullName: MLEM.Extensions.GraphicsExtensions.TargetContext.TargetContext - uid: Microsoft.Xna.Framework.Graphics.GraphicsDevice commentId: T:Microsoft.Xna.Framework.Graphics.GraphicsDevice parent: Microsoft.Xna.Framework.Graphics isExternal: true name: GraphicsDevice nameWithType: GraphicsDevice fullName: Microsoft.Xna.Framework.Graphics.GraphicsDevice - uid: MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose* commentId: Overload:MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose name: Dispose nameWithType: GraphicsExtensions.TargetContext.Dispose fullName: MLEM.Extensions.GraphicsExtensions.TargetContext.Dispose - uid: System.IDisposable.Dispose commentId: M:System.IDisposable.Dispose parent: System.IDisposable isExternal: true name: Dispose() nameWithType: IDisposable.Dispose() fullName: System.IDisposable.Dispose() spec.csharp: - uid: System.IDisposable.Dispose name: Dispose nameWithType: IDisposable.Dispose fullName: System.IDisposable.Dispose isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.IDisposable.Dispose name: Dispose nameWithType: IDisposable.Dispose fullName: System.IDisposable.Dispose isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: )