2020-05-21 01:08:36 +02:00
### 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
2020-05-21 23:19:16 +02:00
startLine : 81
2020-05-21 01:08:36 +02:00
assemblies :
- MLEM
namespace : MLEM.Extensions
2020-05-21 23:19:16 +02:00
summary : "\nRepresents a context in which a <xref href=\"Microsoft.Xna.Framework.Graphics.RenderTarget2D\" data-throw-if-not-resolved=\"false\"></xref> is applied.\nThis class should be used with <xref href=\"MLEM.Extensions.GraphicsExtensions.WithRenderTarget(Microsoft.Xna.Framework.Graphics.GraphicsDevice%2cMicrosoft.Xna.Framework.Graphics.RenderTarget2D)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example : [ ]
2020-05-21 01:08:36 +02:00
syntax :
content: 'public struct TargetContext : IDisposable'
content.vb : >-
Public Structure TargetContext
2020-05-21 23:19:16 +02:00
2020-05-21 01:08:36 +02:00
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
2020-05-21 23:19:16 +02:00
startLine : 91
2020-05-21 01:08:36 +02:00
assemblies :
- MLEM
namespace : MLEM.Extensions
2020-05-21 23:19:16 +02:00
summary : "\nCreates a new target context with the given settings.\n"
example : [ ]
2020-05-21 01:08:36 +02:00
syntax :
content : public TargetContext(GraphicsDevice device, RenderTarget2D target)
parameters :
- id : device
type : Microsoft.Xna.Framework.Graphics.GraphicsDevice
2020-05-21 23:19:16 +02:00
description : The graphics device to apply the target on
2020-05-21 01:08:36 +02:00
- id : target
type : Microsoft.Xna.Framework.Graphics.RenderTarget2D
2020-05-21 23:19:16 +02:00
description : The target to apply
2020-05-21 01:08:36 +02:00
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
2020-05-21 23:19:16 +02:00
startLine : 100
2020-05-21 01:08:36 +02:00
assemblies :
- MLEM
namespace : MLEM.Extensions
2020-05-21 23:19:16 +02:00
summary : "\nDisposes this target context, which causes the graphics device's previous render targets to be re-applied.\n"
example : [ ]
2020-05-21 01:08:36 +02:00
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 :
2020-05-21 23:19:16 +02:00
- 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
2020-05-21 01:08:36 +02:00
- 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 : )
2020-05-21 23:19:16 +02:00
- 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
2020-05-21 01:08:36 +02:00
- 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 : )