### YamlMime:ManagedReference items: - uid: MLEM.Extensions.TextureExtensions commentId: T:MLEM.Extensions.TextureExtensions id: TextureExtensions parent: MLEM.Extensions children: - MLEM.Extensions.TextureExtensions.GetTextureData(Microsoft.Xna.Framework.Graphics.Texture2D) langs: - csharp - vb name: TextureExtensions nameWithType: TextureExtensions fullName: MLEM.Extensions.TextureExtensions type: Class source: remote: path: MLEM/Extensions/TextureExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: TextureExtensions path: ../MLEM/Extensions/TextureExtensions.cs startLine: 8 assemblies: - MLEM namespace: MLEM.Extensions summary: A set of extensions for dealing with example: [] syntax: content: public static class TextureExtensions content.vb: Public Module TextureExtensions inheritance: - System.Object inheritedMembers: - System.Object.ToString - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.ReferenceEquals(System.Object,System.Object) - System.Object.GetHashCode - System.Object.GetType - System.Object.MemberwiseClone - uid: MLEM.Extensions.TextureExtensions.GetTextureData(Microsoft.Xna.Framework.Graphics.Texture2D) commentId: M:MLEM.Extensions.TextureExtensions.GetTextureData(Microsoft.Xna.Framework.Graphics.Texture2D) id: GetTextureData(Microsoft.Xna.Framework.Graphics.Texture2D) isExtensionMethod: true parent: MLEM.Extensions.TextureExtensions langs: - csharp - vb name: GetTextureData(Texture2D) nameWithType: TextureExtensions.GetTextureData(Texture2D) fullName: MLEM.Extensions.TextureExtensions.GetTextureData(Microsoft.Xna.Framework.Graphics.Texture2D) type: Method source: remote: path: MLEM/Extensions/TextureExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: GetTextureData path: ../MLEM/Extensions/TextureExtensions.cs startLine: 16 assemblies: - MLEM namespace: MLEM.Extensions summary: >- Returns a new instance of which allows easily managing a texture's data with texture coordinates rather than indices. When this is used in a using statement, the texture data is automatically stored back in the texture at the end. example: [] syntax: content: public static TextureExtensions.TextureData GetTextureData(this Texture2D texture) parameters: - id: texture type: Microsoft.Xna.Framework.Graphics.Texture2D description: The texture whose data to get return: type: MLEM.Extensions.TextureExtensions.TextureData description: The texture's data content.vb: Public Shared Function GetTextureData(texture As Texture2D) As TextureExtensions.TextureData overload: MLEM.Extensions.TextureExtensions.GetTextureData* references: - uid: Microsoft.Xna.Framework.Graphics.Texture2D commentId: T:Microsoft.Xna.Framework.Graphics.Texture2D parent: Microsoft.Xna.Framework.Graphics isExternal: true name: Texture2D nameWithType: Texture2D fullName: Microsoft.Xna.Framework.Graphics.Texture2D - uid: MLEM.Extensions commentId: N:MLEM.Extensions href: MLEM.html name: MLEM.Extensions nameWithType: MLEM.Extensions fullName: MLEM.Extensions spec.csharp: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Extensions name: Extensions href: MLEM.Extensions.html spec.vb: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Extensions name: Extensions href: MLEM.Extensions.html - uid: System.Object commentId: T:System.Object parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object name: object nameWithType: object fullName: object nameWithType.vb: Object fullName.vb: Object name.vb: Object - uid: System.Object.ToString commentId: M:System.Object.ToString parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring name: ToString() nameWithType: object.ToString() fullName: object.ToString() nameWithType.vb: Object.ToString() fullName.vb: Object.ToString() spec.csharp: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) spec.vb: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) name: Equals(object) nameWithType: object.Equals(object) fullName: object.Equals(object) nameWithType.vb: Object.Equals(Object) fullName.vb: Object.Equals(Object) name.vb: Equals(Object) spec.csharp: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.Equals(System.Object,System.Object) commentId: M:System.Object.Equals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) name: Equals(object, object) nameWithType: object.Equals(object, object) fullName: object.Equals(object, object) nameWithType.vb: Object.Equals(Object, Object) fullName.vb: Object.Equals(Object, Object) name.vb: Equals(Object, Object) spec.csharp: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.ReferenceEquals(System.Object,System.Object) commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals name: ReferenceEquals(object, object) nameWithType: object.ReferenceEquals(object, object) fullName: object.ReferenceEquals(object, object) nameWithType.vb: Object.ReferenceEquals(Object, Object) fullName.vb: Object.ReferenceEquals(Object, Object) name.vb: ReferenceEquals(Object, Object) spec.csharp: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.GetHashCode commentId: M:System.Object.GetHashCode parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode name: GetHashCode() nameWithType: object.GetHashCode() fullName: object.GetHashCode() nameWithType.vb: Object.GetHashCode() fullName.vb: Object.GetHashCode() spec.csharp: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) spec.vb: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) - uid: System.Object.GetType commentId: M:System.Object.GetType parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype name: GetType() nameWithType: object.GetType() fullName: object.GetType() nameWithType.vb: Object.GetType() fullName.vb: Object.GetType() spec.csharp: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) spec.vb: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) - uid: System.Object.MemberwiseClone commentId: M:System.Object.MemberwiseClone parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone name: MemberwiseClone() nameWithType: object.MemberwiseClone() fullName: object.MemberwiseClone() nameWithType.vb: Object.MemberwiseClone() fullName.vb: Object.MemberwiseClone() spec.csharp: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) spec.vb: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) - 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 spec.csharp: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - name: . - uid: Microsoft.Xna.Framework.Graphics name: Graphics isExternal: true spec.vb: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - name: . - uid: Microsoft.Xna.Framework.Graphics name: Graphics isExternal: true - uid: System commentId: N:System isExternal: true href: https://learn.microsoft.com/dotnet/api/system name: System nameWithType: System fullName: System - uid: MLEM.Extensions.TextureExtensions.TextureData commentId: T:MLEM.Extensions.TextureExtensions.TextureData parent: MLEM.Extensions href: MLEM.Extensions.TextureExtensions.html name: TextureExtensions.TextureData nameWithType: TextureExtensions.TextureData fullName: MLEM.Extensions.TextureExtensions.TextureData spec.csharp: - uid: MLEM.Extensions.TextureExtensions name: TextureExtensions href: MLEM.Extensions.TextureExtensions.html - name: . - uid: MLEM.Extensions.TextureExtensions.TextureData name: TextureData href: MLEM.Extensions.TextureExtensions.TextureData.html spec.vb: - uid: MLEM.Extensions.TextureExtensions name: TextureExtensions href: MLEM.Extensions.TextureExtensions.html - name: . - uid: MLEM.Extensions.TextureExtensions.TextureData name: TextureData href: MLEM.Extensions.TextureExtensions.TextureData.html - uid: MLEM.Extensions.TextureExtensions.GetTextureData* commentId: Overload:MLEM.Extensions.TextureExtensions.GetTextureData href: MLEM.Extensions.TextureExtensions.html#MLEM_Extensions_TextureExtensions_GetTextureData_Microsoft_Xna_Framework_Graphics_Texture2D_ name: GetTextureData nameWithType: TextureExtensions.GetTextureData fullName: MLEM.Extensions.TextureExtensions.GetTextureData