diff --git a/generator.json b/generator.json index d90061dbea..c1aa28c217 100644 --- a/generator.json +++ b/generator.json @@ -1874,7 +1874,8 @@ "cacheDir": "build/cache", "cacheKey": "webgpu", "controlDescriptors": [ - "convert-windows-only" + "convert-windows-only", + "no-obsolete-enum" ], "converter": {}, "prefix": "wgpu", diff --git a/src/Core/Silk.NET.BuildTools/Baking/EnumPostProcessor.cs b/src/Core/Silk.NET.BuildTools/Baking/EnumPostProcessor.cs index aecf1257cf..5037d682c4 100644 --- a/src/Core/Silk.NET.BuildTools/Baking/EnumPostProcessor.cs +++ b/src/Core/Silk.NET.BuildTools/Baking/EnumPostProcessor.cs @@ -91,47 +91,53 @@ private static void StripCommonPrefix(Profile profile, BindTask task) if (prefix.Length > 0) { - @enum.Tokens.AddRange + var newEnums = @enum.Tokens.Select ( - @enum.Tokens.Select - ( - x => - { - var newName = Naming.Translate(x.NativeName[prefix.Length..], task.FunctionPrefix); - if (newName == x.Name) - { - return null; - } + x => + { + var newName = Naming.Translate(x.NativeName[prefix.Length..], task.FunctionPrefix); + if (newName == x.Name) + { + return null; + } - var attrs = x.Attributes.ToList(); - if (!x.Attributes.Any(y => y.Name is "Obsolete" or "System.Obsolete")) + var attrs = x.Attributes.ToList(); + if (!x.Attributes.Any(y => y.Name is "Obsolete" or "System.Obsolete")) + { + x.Attributes.Add + ( + new Attribute { - x.Attributes.Add - ( - new Attribute - { - Name = "Obsolete", - Arguments = new List - { - $"\"Deprecated in favour of \\\"{newName}\\\"\"" - } - } - ); + Name = "Obsolete", + Arguments = new List + { + $"\"Deprecated in favour of \\\"{newName}\\\"\"" + } } + ); + } - return new Token - { - Attributes = attrs, - Doc = x.Doc, - Name = newName, - NativeName = x.NativeName, - Value = x.Value - }; - } - ) - .Where(x => x is not null) - .ToList() - ); + return new Token + { + Attributes = attrs, + Doc = x.Doc, + Name = newName, + NativeName = x.NativeName, + Value = x.Value + }; + } + ) + .Where(x => x is not null) + .ToList(); + + if (task.Controls.Contains("no-obsolete-enum")) + { + @enum.Tokens = newEnums; + } + else + { + @enum.Tokens.AddRange(newEnums); + } } } } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/AlphaMode.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/AlphaMode.gen.cs index 984ac57323..1abc445c01 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/AlphaMode.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/AlphaMode.gen.cs @@ -15,18 +15,6 @@ public enum AlphaMode : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Premultiplied\"")] - [NativeName("Name", "WGPUAlphaMode_Premultiplied")] - AlphaModePremultiplied = 0x0, - [Obsolete("Deprecated in favour of \"Unpremultiplied\"")] - [NativeName("Name", "WGPUAlphaMode_Unpremultiplied")] - AlphaModeUnpremultiplied = 0x1, - [Obsolete("Deprecated in favour of \"Opaque\"")] - [NativeName("Name", "WGPUAlphaMode_Opaque")] - AlphaModeOpaque = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUAlphaMode_Force32")] - AlphaModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUAlphaMode_Premultiplied")] Premultiplied = 0x0, [NativeName("Name", "WGPUAlphaMode_Unpremultiplied")] diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/LoggingType.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/LoggingType.gen.cs index e037cf2aa0..2e6fd354c1 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/LoggingType.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/LoggingType.gen.cs @@ -15,21 +15,6 @@ public enum LoggingType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Verbose\"")] - [NativeName("Name", "WGPULoggingType_Verbose")] - LoggingTypeVerbose = 0x0, - [Obsolete("Deprecated in favour of \"Info\"")] - [NativeName("Name", "WGPULoggingType_Info")] - LoggingTypeInfo = 0x1, - [Obsolete("Deprecated in favour of \"Warning\"")] - [NativeName("Name", "WGPULoggingType_Warning")] - LoggingTypeWarning = 0x2, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPULoggingType_Error")] - LoggingTypeError = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPULoggingType_Force32")] - LoggingTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPULoggingType_Verbose")] Verbose = 0x0, [NativeName("Name", "WGPULoggingType_Info")] diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/LogLevel.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/LogLevel.gen.cs index c12bda007e..a455aabaa6 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/LogLevel.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/LogLevel.gen.cs @@ -15,27 +15,6 @@ public enum LogLevel : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Off\"")] - [NativeName("Name", "WGPULogLevel_Off")] - LogLevelOff = 0x0, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPULogLevel_Error")] - LogLevelError = 0x1, - [Obsolete("Deprecated in favour of \"Warn\"")] - [NativeName("Name", "WGPULogLevel_Warn")] - LogLevelWarn = 0x2, - [Obsolete("Deprecated in favour of \"Info\"")] - [NativeName("Name", "WGPULogLevel_Info")] - LogLevelInfo = 0x3, - [Obsolete("Deprecated in favour of \"Debug\"")] - [NativeName("Name", "WGPULogLevel_Debug")] - LogLevelDebug = 0x4, - [Obsolete("Deprecated in favour of \"Trace\"")] - [NativeName("Name", "WGPULogLevel_Trace")] - LogLevelTrace = 0x5, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPULogLevel_Force32")] - LogLevelForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPULogLevel_Off")] Off = 0x0, [NativeName("Name", "WGPULogLevel_Error")] diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs index 026f39596c..bc64cd0364 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs @@ -12,21 +12,6 @@ namespace Silk.NET.WebGPU.Extensions.WGPU [NativeName("Name", "WGPUNativeFeature")] public enum NativeFeature : int { - [Obsolete("Deprecated in favour of \"PushConstants\"")] - [NativeName("Name", "WGPUNativeFeature_PUSH_CONSTANTS")] - NativeFeaturePushConstants = 0x60000001, - [Obsolete("Deprecated in favour of \"TextureAdapterSpecificFormatFeatures\"")] - [NativeName("Name", "WGPUNativeFeature_TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES")] - NativeFeatureTextureAdapterSpecificFormatFeatures = 0x60000002, - [Obsolete("Deprecated in favour of \"MultiDrawIndirect\"")] - [NativeName("Name", "WGPUNativeFeature_MULTI_DRAW_INDIRECT")] - NativeFeatureMultiDrawIndirect = 0x60000003, - [Obsolete("Deprecated in favour of \"MultiDrawIndirectCount\"")] - [NativeName("Name", "WGPUNativeFeature_MULTI_DRAW_INDIRECT_COUNT")] - NativeFeatureMultiDrawIndirectCount = 0x60000004, - [Obsolete("Deprecated in favour of \"VertexWritableStorage\"")] - [NativeName("Name", "WGPUNativeFeature_VERTEX_WRITABLE_STORAGE")] - NativeFeatureVertexWritableStorage = 0x60000005, [NativeName("Name", "WGPUNativeFeature_PUSH_CONSTANTS")] PushConstants = 0x60000001, [NativeName("Name", "WGPUNativeFeature_TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/AdapterType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/AdapterType.gen.cs index 7bfd06ba7f..57361a9b6b 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/AdapterType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/AdapterType.gen.cs @@ -15,21 +15,6 @@ public enum AdapterType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"DiscreteGpu\"")] - [NativeName("Name", "WGPUAdapterType_DiscreteGPU")] - AdapterTypeDiscreteGpu = 0x0, - [Obsolete("Deprecated in favour of \"IntegratedGpu\"")] - [NativeName("Name", "WGPUAdapterType_IntegratedGPU")] - AdapterTypeIntegratedGpu = 0x1, - [Obsolete("Deprecated in favour of \"Cpu\"")] - [NativeName("Name", "WGPUAdapterType_CPU")] - AdapterTypeCpu = 0x2, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPUAdapterType_Unknown")] - AdapterTypeUnknown = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUAdapterType_Force32")] - AdapterTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUAdapterType_DiscreteGPU")] DiscreteGpu = 0x0, [NativeName("Name", "WGPUAdapterType_IntegratedGPU")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/AddressMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/AddressMode.gen.cs index 07b367ebb9..867488402b 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/AddressMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/AddressMode.gen.cs @@ -15,18 +15,6 @@ public enum AddressMode : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Repeat\"")] - [NativeName("Name", "WGPUAddressMode_Repeat")] - AddressModeRepeat = 0x0, - [Obsolete("Deprecated in favour of \"MirrorRepeat\"")] - [NativeName("Name", "WGPUAddressMode_MirrorRepeat")] - AddressModeMirrorRepeat = 0x1, - [Obsolete("Deprecated in favour of \"ClampToEdge\"")] - [NativeName("Name", "WGPUAddressMode_ClampToEdge")] - AddressModeClampToEdge = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUAddressMode_Force32")] - AddressModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUAddressMode_Repeat")] Repeat = 0x0, [NativeName("Name", "WGPUAddressMode_MirrorRepeat")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/BackendType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/BackendType.gen.cs index 310eadefe7..36776c0884 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/BackendType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/BackendType.gen.cs @@ -12,33 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUBackendType")] public enum BackendType : int { - [Obsolete("Deprecated in favour of \"Null\"")] - [NativeName("Name", "WGPUBackendType_Null")] - BackendTypeNull = 0x0, - [Obsolete("Deprecated in favour of \"WebGpu\"")] - [NativeName("Name", "WGPUBackendType_WebGPU")] - BackendTypeWebGpu = 0x1, - [Obsolete("Deprecated in favour of \"D3D11\"")] - [NativeName("Name", "WGPUBackendType_D3D11")] - BackendTypeD3D11 = 0x2, - [Obsolete("Deprecated in favour of \"D3D12\"")] - [NativeName("Name", "WGPUBackendType_D3D12")] - BackendTypeD3D12 = 0x3, - [Obsolete("Deprecated in favour of \"Metal\"")] - [NativeName("Name", "WGPUBackendType_Metal")] - BackendTypeMetal = 0x4, - [Obsolete("Deprecated in favour of \"Vulkan\"")] - [NativeName("Name", "WGPUBackendType_Vulkan")] - BackendTypeVulkan = 0x5, - [Obsolete("Deprecated in favour of \"OpenGL\"")] - [NativeName("Name", "WGPUBackendType_OpenGL")] - BackendTypeOpenGL = 0x6, - [Obsolete("Deprecated in favour of \"OpenGles\"")] - [NativeName("Name", "WGPUBackendType_OpenGLES")] - BackendTypeOpenGles = 0x7, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUBackendType_Force32")] - BackendTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUBackendType_Null")] Null = 0x0, [NativeName("Name", "WGPUBackendType_WebGPU")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/BlendFactor.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/BlendFactor.gen.cs index 5e05d6ea3f..05010e158b 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/BlendFactor.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/BlendFactor.gen.cs @@ -12,48 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUBlendFactor")] public enum BlendFactor : int { - [Obsolete("Deprecated in favour of \"Zero\"")] - [NativeName("Name", "WGPUBlendFactor_Zero")] - BlendFactorZero = 0x0, - [Obsolete("Deprecated in favour of \"One\"")] - [NativeName("Name", "WGPUBlendFactor_One")] - BlendFactorOne = 0x1, - [Obsolete("Deprecated in favour of \"Src\"")] - [NativeName("Name", "WGPUBlendFactor_Src")] - BlendFactorSrc = 0x2, - [Obsolete("Deprecated in favour of \"OneMinusSrc\"")] - [NativeName("Name", "WGPUBlendFactor_OneMinusSrc")] - BlendFactorOneMinusSrc = 0x3, - [Obsolete("Deprecated in favour of \"SrcAlpha\"")] - [NativeName("Name", "WGPUBlendFactor_SrcAlpha")] - BlendFactorSrcAlpha = 0x4, - [Obsolete("Deprecated in favour of \"OneMinusSrcAlpha\"")] - [NativeName("Name", "WGPUBlendFactor_OneMinusSrcAlpha")] - BlendFactorOneMinusSrcAlpha = 0x5, - [Obsolete("Deprecated in favour of \"Dst\"")] - [NativeName("Name", "WGPUBlendFactor_Dst")] - BlendFactorDst = 0x6, - [Obsolete("Deprecated in favour of \"OneMinusDst\"")] - [NativeName("Name", "WGPUBlendFactor_OneMinusDst")] - BlendFactorOneMinusDst = 0x7, - [Obsolete("Deprecated in favour of \"DstAlpha\"")] - [NativeName("Name", "WGPUBlendFactor_DstAlpha")] - BlendFactorDstAlpha = 0x8, - [Obsolete("Deprecated in favour of \"OneMinusDstAlpha\"")] - [NativeName("Name", "WGPUBlendFactor_OneMinusDstAlpha")] - BlendFactorOneMinusDstAlpha = 0x9, - [Obsolete("Deprecated in favour of \"SrcAlphaSaturated\"")] - [NativeName("Name", "WGPUBlendFactor_SrcAlphaSaturated")] - BlendFactorSrcAlphaSaturated = 0xA, - [Obsolete("Deprecated in favour of \"Constant\"")] - [NativeName("Name", "WGPUBlendFactor_Constant")] - BlendFactorConstant = 0xB, - [Obsolete("Deprecated in favour of \"OneMinusConstant\"")] - [NativeName("Name", "WGPUBlendFactor_OneMinusConstant")] - BlendFactorOneMinusConstant = 0xC, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUBlendFactor_Force32")] - BlendFactorForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUBlendFactor_Zero")] Zero = 0x0, [NativeName("Name", "WGPUBlendFactor_One")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/BlendOperation.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/BlendOperation.gen.cs index 720f30758c..2bafc25fbd 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/BlendOperation.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/BlendOperation.gen.cs @@ -15,24 +15,6 @@ public enum BlendOperation : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Add\"")] - [NativeName("Name", "WGPUBlendOperation_Add")] - BlendOperationAdd = 0x0, - [Obsolete("Deprecated in favour of \"Subtract\"")] - [NativeName("Name", "WGPUBlendOperation_Subtract")] - BlendOperationSubtract = 0x1, - [Obsolete("Deprecated in favour of \"ReverseSubtract\"")] - [NativeName("Name", "WGPUBlendOperation_ReverseSubtract")] - BlendOperationReverseSubtract = 0x2, - [Obsolete("Deprecated in favour of \"Min\"")] - [NativeName("Name", "WGPUBlendOperation_Min")] - BlendOperationMin = 0x3, - [Obsolete("Deprecated in favour of \"Max\"")] - [NativeName("Name", "WGPUBlendOperation_Max")] - BlendOperationMax = 0x4, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUBlendOperation_Force32")] - BlendOperationForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUBlendOperation_Add")] Add = 0x0, [NativeName("Name", "WGPUBlendOperation_Subtract")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/BufferBindingType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/BufferBindingType.gen.cs index 7f2831d3c3..218c8a5834 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/BufferBindingType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/BufferBindingType.gen.cs @@ -15,21 +15,6 @@ public enum BufferBindingType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUBufferBindingType_Undefined")] - BufferBindingTypeUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Uniform\"")] - [NativeName("Name", "WGPUBufferBindingType_Uniform")] - BufferBindingTypeUniform = 0x1, - [Obsolete("Deprecated in favour of \"Storage\"")] - [NativeName("Name", "WGPUBufferBindingType_Storage")] - BufferBindingTypeStorage = 0x2, - [Obsolete("Deprecated in favour of \"ReadOnlyStorage\"")] - [NativeName("Name", "WGPUBufferBindingType_ReadOnlyStorage")] - BufferBindingTypeReadOnlyStorage = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUBufferBindingType_Force32")] - BufferBindingTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUBufferBindingType_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUBufferBindingType_Uniform")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/BufferMapAsyncStatus.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/BufferMapAsyncStatus.gen.cs index 2089dfa649..0a9fbac29c 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/BufferMapAsyncStatus.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/BufferMapAsyncStatus.gen.cs @@ -15,27 +15,6 @@ public enum BufferMapAsyncStatus : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Success\"")] - [NativeName("Name", "WGPUBufferMapAsyncStatus_Success")] - BufferMapAsyncStatusSuccess = 0x0, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPUBufferMapAsyncStatus_Error")] - BufferMapAsyncStatusError = 0x1, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPUBufferMapAsyncStatus_Unknown")] - BufferMapAsyncStatusUnknown = 0x2, - [Obsolete("Deprecated in favour of \"DeviceLost\"")] - [NativeName("Name", "WGPUBufferMapAsyncStatus_DeviceLost")] - BufferMapAsyncStatusDeviceLost = 0x3, - [Obsolete("Deprecated in favour of \"DestroyedBeforeCallback\"")] - [NativeName("Name", "WGPUBufferMapAsyncStatus_DestroyedBeforeCallback")] - BufferMapAsyncStatusDestroyedBeforeCallback = 0x4, - [Obsolete("Deprecated in favour of \"UnmappedBeforeCallback\"")] - [NativeName("Name", "WGPUBufferMapAsyncStatus_UnmappedBeforeCallback")] - BufferMapAsyncStatusUnmappedBeforeCallback = 0x5, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUBufferMapAsyncStatus_Force32")] - BufferMapAsyncStatusForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUBufferMapAsyncStatus_Success")] Success = 0x0, [NativeName("Name", "WGPUBufferMapAsyncStatus_Error")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/BufferUsage.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/BufferUsage.gen.cs index 0775927c0c..650306c222 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/BufferUsage.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/BufferUsage.gen.cs @@ -13,42 +13,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUBufferUsage")] public enum BufferUsage : int { - [Obsolete("Deprecated in favour of \"None\"")] - [NativeName("Name", "WGPUBufferUsage_None")] - BufferUsageNone = 0x0, - [Obsolete("Deprecated in favour of \"MapRead\"")] - [NativeName("Name", "WGPUBufferUsage_MapRead")] - BufferUsageMapRead = 0x1, - [Obsolete("Deprecated in favour of \"MapWrite\"")] - [NativeName("Name", "WGPUBufferUsage_MapWrite")] - BufferUsageMapWrite = 0x2, - [Obsolete("Deprecated in favour of \"CopySrc\"")] - [NativeName("Name", "WGPUBufferUsage_CopySrc")] - BufferUsageCopySrc = 0x4, - [Obsolete("Deprecated in favour of \"CopyDst\"")] - [NativeName("Name", "WGPUBufferUsage_CopyDst")] - BufferUsageCopyDst = 0x8, - [Obsolete("Deprecated in favour of \"Index\"")] - [NativeName("Name", "WGPUBufferUsage_Index")] - BufferUsageIndex = 0x10, - [Obsolete("Deprecated in favour of \"Vertex\"")] - [NativeName("Name", "WGPUBufferUsage_Vertex")] - BufferUsageVertex = 0x20, - [Obsolete("Deprecated in favour of \"Uniform\"")] - [NativeName("Name", "WGPUBufferUsage_Uniform")] - BufferUsageUniform = 0x40, - [Obsolete("Deprecated in favour of \"Storage\"")] - [NativeName("Name", "WGPUBufferUsage_Storage")] - BufferUsageStorage = 0x80, - [Obsolete("Deprecated in favour of \"Indirect\"")] - [NativeName("Name", "WGPUBufferUsage_Indirect")] - BufferUsageIndirect = 0x100, - [Obsolete("Deprecated in favour of \"QueryResolve\"")] - [NativeName("Name", "WGPUBufferUsage_QueryResolve")] - BufferUsageQueryResolve = 0x200, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUBufferUsage_Force32")] - BufferUsageForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUBufferUsage_None")] None = 0x0, [NativeName("Name", "WGPUBufferUsage_MapRead")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/ColorWriteMask.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/ColorWriteMask.gen.cs index eda889b314..fe342c0535 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/ColorWriteMask.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/ColorWriteMask.gen.cs @@ -13,27 +13,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUColorWriteMask")] public enum ColorWriteMask : int { - [Obsolete("Deprecated in favour of \"None\"")] - [NativeName("Name", "WGPUColorWriteMask_None")] - ColorWriteMaskNone = 0x0, - [Obsolete("Deprecated in favour of \"Red\"")] - [NativeName("Name", "WGPUColorWriteMask_Red")] - ColorWriteMaskRed = 0x1, - [Obsolete("Deprecated in favour of \"Green\"")] - [NativeName("Name", "WGPUColorWriteMask_Green")] - ColorWriteMaskGreen = 0x2, - [Obsolete("Deprecated in favour of \"Blue\"")] - [NativeName("Name", "WGPUColorWriteMask_Blue")] - ColorWriteMaskBlue = 0x4, - [Obsolete("Deprecated in favour of \"Alpha\"")] - [NativeName("Name", "WGPUColorWriteMask_Alpha")] - ColorWriteMaskAlpha = 0x8, - [Obsolete("Deprecated in favour of \"All\"")] - [NativeName("Name", "WGPUColorWriteMask_All")] - ColorWriteMaskAll = 0xF, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUColorWriteMask_Force32")] - ColorWriteMaskForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUColorWriteMask_None")] None = 0x0, [NativeName("Name", "WGPUColorWriteMask_Red")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/CompareFunction.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/CompareFunction.gen.cs index 12a7b13d03..30b255aa75 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/CompareFunction.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/CompareFunction.gen.cs @@ -12,36 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUCompareFunction")] public enum CompareFunction : int { - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUCompareFunction_Undefined")] - CompareFunctionUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Never\"")] - [NativeName("Name", "WGPUCompareFunction_Never")] - CompareFunctionNever = 0x1, - [Obsolete("Deprecated in favour of \"Less\"")] - [NativeName("Name", "WGPUCompareFunction_Less")] - CompareFunctionLess = 0x2, - [Obsolete("Deprecated in favour of \"LessEqual\"")] - [NativeName("Name", "WGPUCompareFunction_LessEqual")] - CompareFunctionLessEqual = 0x3, - [Obsolete("Deprecated in favour of \"Greater\"")] - [NativeName("Name", "WGPUCompareFunction_Greater")] - CompareFunctionGreater = 0x4, - [Obsolete("Deprecated in favour of \"GreaterEqual\"")] - [NativeName("Name", "WGPUCompareFunction_GreaterEqual")] - CompareFunctionGreaterEqual = 0x5, - [Obsolete("Deprecated in favour of \"Equal\"")] - [NativeName("Name", "WGPUCompareFunction_Equal")] - CompareFunctionEqual = 0x6, - [Obsolete("Deprecated in favour of \"NotEqual\"")] - [NativeName("Name", "WGPUCompareFunction_NotEqual")] - CompareFunctionNotEqual = 0x7, - [Obsolete("Deprecated in favour of \"Always\"")] - [NativeName("Name", "WGPUCompareFunction_Always")] - CompareFunctionAlways = 0x8, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUCompareFunction_Force32")] - CompareFunctionForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUCompareFunction_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUCompareFunction_Never")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationInfoRequestStatus.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationInfoRequestStatus.gen.cs index 096f34e630..4ea28dd282 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationInfoRequestStatus.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationInfoRequestStatus.gen.cs @@ -15,21 +15,6 @@ public enum CompilationInfoRequestStatus : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Success\"")] - [NativeName("Name", "WGPUCompilationInfoRequestStatus_Success")] - CompilationInfoRequestStatusSuccess = 0x0, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPUCompilationInfoRequestStatus_Error")] - CompilationInfoRequestStatusError = 0x1, - [Obsolete("Deprecated in favour of \"DeviceLost\"")] - [NativeName("Name", "WGPUCompilationInfoRequestStatus_DeviceLost")] - CompilationInfoRequestStatusDeviceLost = 0x2, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPUCompilationInfoRequestStatus_Unknown")] - CompilationInfoRequestStatusUnknown = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUCompilationInfoRequestStatus_Force32")] - CompilationInfoRequestStatusForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUCompilationInfoRequestStatus_Success")] Success = 0x0, [NativeName("Name", "WGPUCompilationInfoRequestStatus_Error")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationMessageType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationMessageType.gen.cs index 355ad22983..b902381914 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationMessageType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/CompilationMessageType.gen.cs @@ -15,18 +15,6 @@ public enum CompilationMessageType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPUCompilationMessageType_Error")] - CompilationMessageTypeError = 0x0, - [Obsolete("Deprecated in favour of \"Warning\"")] - [NativeName("Name", "WGPUCompilationMessageType_Warning")] - CompilationMessageTypeWarning = 0x1, - [Obsolete("Deprecated in favour of \"Info\"")] - [NativeName("Name", "WGPUCompilationMessageType_Info")] - CompilationMessageTypeInfo = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUCompilationMessageType_Force32")] - CompilationMessageTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUCompilationMessageType_Error")] Error = 0x0, [NativeName("Name", "WGPUCompilationMessageType_Warning")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/ComputePassTimestampLocation.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/ComputePassTimestampLocation.gen.cs index 1081796a45..b9f1e09cdd 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/ComputePassTimestampLocation.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/ComputePassTimestampLocation.gen.cs @@ -15,15 +15,6 @@ public enum ComputePassTimestampLocation : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Beginning\"")] - [NativeName("Name", "WGPUComputePassTimestampLocation_Beginning")] - ComputePassTimestampLocationBeginning = 0x0, - [Obsolete("Deprecated in favour of \"End\"")] - [NativeName("Name", "WGPUComputePassTimestampLocation_End")] - ComputePassTimestampLocationEnd = 0x1, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUComputePassTimestampLocation_Force32")] - ComputePassTimestampLocationForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUComputePassTimestampLocation_Beginning")] Beginning = 0x0, [NativeName("Name", "WGPUComputePassTimestampLocation_End")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/CreatePipelineAsyncStatus.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/CreatePipelineAsyncStatus.gen.cs index 7f8d7bf99b..e4f31d546e 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/CreatePipelineAsyncStatus.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/CreatePipelineAsyncStatus.gen.cs @@ -15,24 +15,6 @@ public enum CreatePipelineAsyncStatus : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Success\"")] - [NativeName("Name", "WGPUCreatePipelineAsyncStatus_Success")] - CreatePipelineAsyncStatusSuccess = 0x0, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPUCreatePipelineAsyncStatus_Error")] - CreatePipelineAsyncStatusError = 0x1, - [Obsolete("Deprecated in favour of \"DeviceLost\"")] - [NativeName("Name", "WGPUCreatePipelineAsyncStatus_DeviceLost")] - CreatePipelineAsyncStatusDeviceLost = 0x2, - [Obsolete("Deprecated in favour of \"DeviceDestroyed\"")] - [NativeName("Name", "WGPUCreatePipelineAsyncStatus_DeviceDestroyed")] - CreatePipelineAsyncStatusDeviceDestroyed = 0x3, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPUCreatePipelineAsyncStatus_Unknown")] - CreatePipelineAsyncStatusUnknown = 0x4, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUCreatePipelineAsyncStatus_Force32")] - CreatePipelineAsyncStatusForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUCreatePipelineAsyncStatus_Success")] Success = 0x0, [NativeName("Name", "WGPUCreatePipelineAsyncStatus_Error")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/CullMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/CullMode.gen.cs index cfcdee6ee2..5b8ff84ea2 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/CullMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/CullMode.gen.cs @@ -13,18 +13,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUCullMode")] public enum CullMode : int { - [Obsolete("Deprecated in favour of \"None\"")] - [NativeName("Name", "WGPUCullMode_None")] - CullModeNone = 0x0, - [Obsolete("Deprecated in favour of \"Front\"")] - [NativeName("Name", "WGPUCullMode_Front")] - CullModeFront = 0x1, - [Obsolete("Deprecated in favour of \"Back\"")] - [NativeName("Name", "WGPUCullMode_Back")] - CullModeBack = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUCullMode_Force32")] - CullModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUCullMode_None")] None = 0x0, [NativeName("Name", "WGPUCullMode_Front")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/DeviceLostReason.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/DeviceLostReason.gen.cs index 8eab27ac86..935200108d 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/DeviceLostReason.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/DeviceLostReason.gen.cs @@ -15,15 +15,6 @@ public enum DeviceLostReason : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUDeviceLostReason_Undefined")] - DeviceLostReasonUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Destroyed\"")] - [NativeName("Name", "WGPUDeviceLostReason_Destroyed")] - DeviceLostReasonDestroyed = 0x1, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUDeviceLostReason_Force32")] - DeviceLostReasonForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUDeviceLostReason_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUDeviceLostReason_Destroyed")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorFilter.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorFilter.gen.cs index 88eeab28cc..7caabcba53 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorFilter.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorFilter.gen.cs @@ -15,18 +15,6 @@ public enum ErrorFilter : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Validation\"")] - [NativeName("Name", "WGPUErrorFilter_Validation")] - ErrorFilterValidation = 0x0, - [Obsolete("Deprecated in favour of \"OutOfMemory\"")] - [NativeName("Name", "WGPUErrorFilter_OutOfMemory")] - ErrorFilterOutOfMemory = 0x1, - [Obsolete("Deprecated in favour of \"Internal\"")] - [NativeName("Name", "WGPUErrorFilter_Internal")] - ErrorFilterInternal = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUErrorFilter_Force32")] - ErrorFilterForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUErrorFilter_Validation")] Validation = 0x0, [NativeName("Name", "WGPUErrorFilter_OutOfMemory")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorType.gen.cs index 362567a8e5..457045b569 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/ErrorType.gen.cs @@ -15,27 +15,6 @@ public enum ErrorType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"NoError\"")] - [NativeName("Name", "WGPUErrorType_NoError")] - ErrorTypeNoError = 0x0, - [Obsolete("Deprecated in favour of \"Validation\"")] - [NativeName("Name", "WGPUErrorType_Validation")] - ErrorTypeValidation = 0x1, - [Obsolete("Deprecated in favour of \"OutOfMemory\"")] - [NativeName("Name", "WGPUErrorType_OutOfMemory")] - ErrorTypeOutOfMemory = 0x2, - [Obsolete("Deprecated in favour of \"Internal\"")] - [NativeName("Name", "WGPUErrorType_Internal")] - ErrorTypeInternal = 0x3, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPUErrorType_Unknown")] - ErrorTypeUnknown = 0x4, - [Obsolete("Deprecated in favour of \"DeviceLost\"")] - [NativeName("Name", "WGPUErrorType_DeviceLost")] - ErrorTypeDeviceLost = 0x5, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUErrorType_Force32")] - ErrorTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUErrorType_NoError")] NoError = 0x0, [NativeName("Name", "WGPUErrorType_Validation")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/FeatureName.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/FeatureName.gen.cs index 1145c5f926..61abb06f8e 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/FeatureName.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/FeatureName.gen.cs @@ -12,42 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUFeatureName")] public enum FeatureName : int { - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUFeatureName_Undefined")] - FeatureNameUndefined = 0x0, - [Obsolete("Deprecated in favour of \"DepthClipControl\"")] - [NativeName("Name", "WGPUFeatureName_DepthClipControl")] - FeatureNameDepthClipControl = 0x1, - [Obsolete("Deprecated in favour of \"Depth32floatStencil8\"")] - [NativeName("Name", "WGPUFeatureName_Depth32FloatStencil8")] - FeatureNameDepth32floatStencil8 = 0x2, - [Obsolete("Deprecated in favour of \"TimestampQuery\"")] - [NativeName("Name", "WGPUFeatureName_TimestampQuery")] - FeatureNameTimestampQuery = 0x3, - [Obsolete("Deprecated in favour of \"PipelineStatisticsQuery\"")] - [NativeName("Name", "WGPUFeatureName_PipelineStatisticsQuery")] - FeatureNamePipelineStatisticsQuery = 0x4, - [Obsolete("Deprecated in favour of \"TextureCompressionBC\"")] - [NativeName("Name", "WGPUFeatureName_TextureCompressionBC")] - FeatureNameTextureCompressionBC = 0x5, - [Obsolete("Deprecated in favour of \"TextureCompressionEtc2\"")] - [NativeName("Name", "WGPUFeatureName_TextureCompressionETC2")] - FeatureNameTextureCompressionEtc2 = 0x6, - [Obsolete("Deprecated in favour of \"TextureCompressionAstc\"")] - [NativeName("Name", "WGPUFeatureName_TextureCompressionASTC")] - FeatureNameTextureCompressionAstc = 0x7, - [Obsolete("Deprecated in favour of \"IndirectFirstInstance\"")] - [NativeName("Name", "WGPUFeatureName_IndirectFirstInstance")] - FeatureNameIndirectFirstInstance = 0x8, - [Obsolete("Deprecated in favour of \"ShaderF16\"")] - [NativeName("Name", "WGPUFeatureName_ShaderF16")] - FeatureNameShaderF16 = 0x9, - [Obsolete("Deprecated in favour of \"RG11B10UfloatRenderable\"")] - [NativeName("Name", "WGPUFeatureName_RG11B10UfloatRenderable")] - FeatureNameRG11B10UfloatRenderable = 0xA, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUFeatureName_Force32")] - FeatureNameForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUFeatureName_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUFeatureName_DepthClipControl")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/FilterMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/FilterMode.gen.cs index 7a0cca2590..9ee5dcde33 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/FilterMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/FilterMode.gen.cs @@ -15,15 +15,6 @@ public enum FilterMode : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Nearest\"")] - [NativeName("Name", "WGPUFilterMode_Nearest")] - FilterModeNearest = 0x0, - [Obsolete("Deprecated in favour of \"Linear\"")] - [NativeName("Name", "WGPUFilterMode_Linear")] - FilterModeLinear = 0x1, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUFilterMode_Force32")] - FilterModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUFilterMode_Nearest")] Nearest = 0x0, [NativeName("Name", "WGPUFilterMode_Linear")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/FrontFace.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/FrontFace.gen.cs index b95cddbb8c..b073eb177b 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/FrontFace.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/FrontFace.gen.cs @@ -15,15 +15,6 @@ public enum FrontFace : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Ccw\"")] - [NativeName("Name", "WGPUFrontFace_CCW")] - FrontFaceCcw = 0x0, - [Obsolete("Deprecated in favour of \"CW\"")] - [NativeName("Name", "WGPUFrontFace_CW")] - FrontFaceCW = 0x1, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUFrontFace_Force32")] - FrontFaceForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUFrontFace_CCW")] Ccw = 0x0, [NativeName("Name", "WGPUFrontFace_CW")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/IndexFormat.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/IndexFormat.gen.cs index 27c86cddd6..df673aeeff 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/IndexFormat.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/IndexFormat.gen.cs @@ -15,18 +15,6 @@ public enum IndexFormat : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUIndexFormat_Undefined")] - IndexFormatUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Uint16\"")] - [NativeName("Name", "WGPUIndexFormat_Uint16")] - IndexFormatUint16 = 0x1, - [Obsolete("Deprecated in favour of \"Uint32\"")] - [NativeName("Name", "WGPUIndexFormat_Uint32")] - IndexFormatUint32 = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUIndexFormat_Force32")] - IndexFormatForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUIndexFormat_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUIndexFormat_Uint16")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/LoadOp.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/LoadOp.gen.cs index 5a2cd5e68b..c232f34161 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/LoadOp.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/LoadOp.gen.cs @@ -15,18 +15,6 @@ public enum LoadOp : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPULoadOp_Undefined")] - LoadOpUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Clear\"")] - [NativeName("Name", "WGPULoadOp_Clear")] - LoadOpClear = 0x1, - [Obsolete("Deprecated in favour of \"Load\"")] - [NativeName("Name", "WGPULoadOp_Load")] - LoadOpLoad = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPULoadOp_Force32")] - LoadOpForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPULoadOp_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPULoadOp_Clear")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/MapMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/MapMode.gen.cs index cb4a01601b..c5e5b25c80 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/MapMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/MapMode.gen.cs @@ -13,18 +13,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUMapMode")] public enum MapMode : int { - [Obsolete("Deprecated in favour of \"None\"")] - [NativeName("Name", "WGPUMapMode_None")] - MapModeNone = 0x0, - [Obsolete("Deprecated in favour of \"Read\"")] - [NativeName("Name", "WGPUMapMode_Read")] - MapModeRead = 0x1, - [Obsolete("Deprecated in favour of \"Write\"")] - [NativeName("Name", "WGPUMapMode_Write")] - MapModeWrite = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUMapMode_Force32")] - MapModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUMapMode_None")] None = 0x0, [NativeName("Name", "WGPUMapMode_Read")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/MipmapFilterMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/MipmapFilterMode.gen.cs index 62737e4c5f..873dd4e9a6 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/MipmapFilterMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/MipmapFilterMode.gen.cs @@ -15,15 +15,6 @@ public enum MipmapFilterMode : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Nearest\"")] - [NativeName("Name", "WGPUMipmapFilterMode_Nearest")] - MipmapFilterModeNearest = 0x0, - [Obsolete("Deprecated in favour of \"Linear\"")] - [NativeName("Name", "WGPUMipmapFilterMode_Linear")] - MipmapFilterModeLinear = 0x1, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUMipmapFilterMode_Force32")] - MipmapFilterModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUMipmapFilterMode_Nearest")] Nearest = 0x0, [NativeName("Name", "WGPUMipmapFilterMode_Linear")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/PipelineStatisticName.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/PipelineStatisticName.gen.cs index 158401b08a..1e2767b2c7 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/PipelineStatisticName.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/PipelineStatisticName.gen.cs @@ -15,24 +15,6 @@ public enum PipelineStatisticName : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"VertexShaderInvocations\"")] - [NativeName("Name", "WGPUPipelineStatisticName_VertexShaderInvocations")] - PipelineStatisticNameVertexShaderInvocations = 0x0, - [Obsolete("Deprecated in favour of \"ClipperInvocations\"")] - [NativeName("Name", "WGPUPipelineStatisticName_ClipperInvocations")] - PipelineStatisticNameClipperInvocations = 0x1, - [Obsolete("Deprecated in favour of \"ClipperPrimitivesOut\"")] - [NativeName("Name", "WGPUPipelineStatisticName_ClipperPrimitivesOut")] - PipelineStatisticNameClipperPrimitivesOut = 0x2, - [Obsolete("Deprecated in favour of \"FragmentShaderInvocations\"")] - [NativeName("Name", "WGPUPipelineStatisticName_FragmentShaderInvocations")] - PipelineStatisticNameFragmentShaderInvocations = 0x3, - [Obsolete("Deprecated in favour of \"ComputeShaderInvocations\"")] - [NativeName("Name", "WGPUPipelineStatisticName_ComputeShaderInvocations")] - PipelineStatisticNameComputeShaderInvocations = 0x4, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUPipelineStatisticName_Force32")] - PipelineStatisticNameForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUPipelineStatisticName_VertexShaderInvocations")] VertexShaderInvocations = 0x0, [NativeName("Name", "WGPUPipelineStatisticName_ClipperInvocations")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/PowerPreference.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/PowerPreference.gen.cs index c83306c851..9d246727bf 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/PowerPreference.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/PowerPreference.gen.cs @@ -15,18 +15,6 @@ public enum PowerPreference : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUPowerPreference_Undefined")] - PowerPreferenceUndefined = 0x0, - [Obsolete("Deprecated in favour of \"LowPower\"")] - [NativeName("Name", "WGPUPowerPreference_LowPower")] - PowerPreferenceLowPower = 0x1, - [Obsolete("Deprecated in favour of \"HighPerformance\"")] - [NativeName("Name", "WGPUPowerPreference_HighPerformance")] - PowerPreferenceHighPerformance = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUPowerPreference_Force32")] - PowerPreferenceForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUPowerPreference_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUPowerPreference_LowPower")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs index d94eac35ec..064a977289 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs @@ -15,18 +15,6 @@ public enum PresentMode : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Immediate\"")] - [NativeName("Name", "WGPUPresentMode_Immediate")] - PresentModeImmediate = 0x0, - [Obsolete("Deprecated in favour of \"Mailbox\"")] - [NativeName("Name", "WGPUPresentMode_Mailbox")] - PresentModeMailbox = 0x1, - [Obsolete("Deprecated in favour of \"Fifo\"")] - [NativeName("Name", "WGPUPresentMode_Fifo")] - PresentModeFifo = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUPresentMode_Force32")] - PresentModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUPresentMode_Immediate")] Immediate = 0x0, [NativeName("Name", "WGPUPresentMode_Mailbox")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/PrimitiveTopology.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/PrimitiveTopology.gen.cs index 7ab4176b56..5535bbae2f 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/PrimitiveTopology.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/PrimitiveTopology.gen.cs @@ -15,24 +15,6 @@ public enum PrimitiveTopology : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"PointList\"")] - [NativeName("Name", "WGPUPrimitiveTopology_PointList")] - PrimitiveTopologyPointList = 0x0, - [Obsolete("Deprecated in favour of \"LineList\"")] - [NativeName("Name", "WGPUPrimitiveTopology_LineList")] - PrimitiveTopologyLineList = 0x1, - [Obsolete("Deprecated in favour of \"LineStrip\"")] - [NativeName("Name", "WGPUPrimitiveTopology_LineStrip")] - PrimitiveTopologyLineStrip = 0x2, - [Obsolete("Deprecated in favour of \"TriangleList\"")] - [NativeName("Name", "WGPUPrimitiveTopology_TriangleList")] - PrimitiveTopologyTriangleList = 0x3, - [Obsolete("Deprecated in favour of \"TriangleStrip\"")] - [NativeName("Name", "WGPUPrimitiveTopology_TriangleStrip")] - PrimitiveTopologyTriangleStrip = 0x4, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUPrimitiveTopology_Force32")] - PrimitiveTopologyForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUPrimitiveTopology_PointList")] PointList = 0x0, [NativeName("Name", "WGPUPrimitiveTopology_LineList")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/QueryType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/QueryType.gen.cs index 154f8cd0c4..da6fc03193 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/QueryType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/QueryType.gen.cs @@ -15,18 +15,6 @@ public enum QueryType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Occlusion\"")] - [NativeName("Name", "WGPUQueryType_Occlusion")] - QueryTypeOcclusion = 0x0, - [Obsolete("Deprecated in favour of \"PipelineStatistics\"")] - [NativeName("Name", "WGPUQueryType_PipelineStatistics")] - QueryTypePipelineStatistics = 0x1, - [Obsolete("Deprecated in favour of \"Timestamp\"")] - [NativeName("Name", "WGPUQueryType_Timestamp")] - QueryTypeTimestamp = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUQueryType_Force32")] - QueryTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUQueryType_Occlusion")] Occlusion = 0x0, [NativeName("Name", "WGPUQueryType_PipelineStatistics")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/QueueWorkDoneStatus.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/QueueWorkDoneStatus.gen.cs index 1cda2bce54..678e6f27af 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/QueueWorkDoneStatus.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/QueueWorkDoneStatus.gen.cs @@ -15,21 +15,6 @@ public enum QueueWorkDoneStatus : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Success\"")] - [NativeName("Name", "WGPUQueueWorkDoneStatus_Success")] - QueueWorkDoneStatusSuccess = 0x0, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPUQueueWorkDoneStatus_Error")] - QueueWorkDoneStatusError = 0x1, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPUQueueWorkDoneStatus_Unknown")] - QueueWorkDoneStatusUnknown = 0x2, - [Obsolete("Deprecated in favour of \"DeviceLost\"")] - [NativeName("Name", "WGPUQueueWorkDoneStatus_DeviceLost")] - QueueWorkDoneStatusDeviceLost = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUQueueWorkDoneStatus_Force32")] - QueueWorkDoneStatusForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUQueueWorkDoneStatus_Success")] Success = 0x0, [NativeName("Name", "WGPUQueueWorkDoneStatus_Error")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/RenderPassTimestampLocation.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/RenderPassTimestampLocation.gen.cs index 1df2176cb7..dfaa93534d 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/RenderPassTimestampLocation.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/RenderPassTimestampLocation.gen.cs @@ -15,15 +15,6 @@ public enum RenderPassTimestampLocation : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Beginning\"")] - [NativeName("Name", "WGPURenderPassTimestampLocation_Beginning")] - RenderPassTimestampLocationBeginning = 0x0, - [Obsolete("Deprecated in favour of \"End\"")] - [NativeName("Name", "WGPURenderPassTimestampLocation_End")] - RenderPassTimestampLocationEnd = 0x1, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPURenderPassTimestampLocation_Force32")] - RenderPassTimestampLocationForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPURenderPassTimestampLocation_Beginning")] Beginning = 0x0, [NativeName("Name", "WGPURenderPassTimestampLocation_End")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/RequestAdapterStatus.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/RequestAdapterStatus.gen.cs index 77368c1b2b..9f9cdf7802 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/RequestAdapterStatus.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/RequestAdapterStatus.gen.cs @@ -15,21 +15,6 @@ public enum RequestAdapterStatus : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Success\"")] - [NativeName("Name", "WGPURequestAdapterStatus_Success")] - RequestAdapterStatusSuccess = 0x0, - [Obsolete("Deprecated in favour of \"Unavailable\"")] - [NativeName("Name", "WGPURequestAdapterStatus_Unavailable")] - RequestAdapterStatusUnavailable = 0x1, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPURequestAdapterStatus_Error")] - RequestAdapterStatusError = 0x2, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPURequestAdapterStatus_Unknown")] - RequestAdapterStatusUnknown = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPURequestAdapterStatus_Force32")] - RequestAdapterStatusForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPURequestAdapterStatus_Success")] Success = 0x0, [NativeName("Name", "WGPURequestAdapterStatus_Unavailable")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/RequestDeviceStatus.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/RequestDeviceStatus.gen.cs index f373346139..ad2ad71f37 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/RequestDeviceStatus.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/RequestDeviceStatus.gen.cs @@ -15,18 +15,6 @@ public enum RequestDeviceStatus : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Success\"")] - [NativeName("Name", "WGPURequestDeviceStatus_Success")] - RequestDeviceStatusSuccess = 0x0, - [Obsolete("Deprecated in favour of \"Error\"")] - [NativeName("Name", "WGPURequestDeviceStatus_Error")] - RequestDeviceStatusError = 0x1, - [Obsolete("Deprecated in favour of \"Unknown\"")] - [NativeName("Name", "WGPURequestDeviceStatus_Unknown")] - RequestDeviceStatusUnknown = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPURequestDeviceStatus_Force32")] - RequestDeviceStatusForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPURequestDeviceStatus_Success")] Success = 0x0, [NativeName("Name", "WGPURequestDeviceStatus_Error")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/SType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/SType.gen.cs index 07fc496fb6..baa2955a56 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/SType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/SType.gen.cs @@ -12,45 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUSType")] public enum SType : int { - [Obsolete("Deprecated in favour of \"Invalid\"")] - [NativeName("Name", "WGPUSType_Invalid")] - STypeInvalid = 0x0, - [Obsolete("Deprecated in favour of \"SurfaceDescriptorFromMetalLayer\"")] - [NativeName("Name", "WGPUSType_SurfaceDescriptorFromMetalLayer")] - STypeSurfaceDescriptorFromMetalLayer = 0x1, - [Obsolete("Deprecated in favour of \"SurfaceDescriptorFromWindowsHwnd\"")] - [NativeName("Name", "WGPUSType_SurfaceDescriptorFromWindowsHWND")] - STypeSurfaceDescriptorFromWindowsHwnd = 0x2, - [Obsolete("Deprecated in favour of \"SurfaceDescriptorFromXlibWindow\"")] - [NativeName("Name", "WGPUSType_SurfaceDescriptorFromXlibWindow")] - STypeSurfaceDescriptorFromXlibWindow = 0x3, - [Obsolete("Deprecated in favour of \"SurfaceDescriptorFromCanvasHtmlselector\"")] - [NativeName("Name", "WGPUSType_SurfaceDescriptorFromCanvasHTMLSelector")] - STypeSurfaceDescriptorFromCanvasHtmlselector = 0x4, - [Obsolete("Deprecated in favour of \"ShaderModuleSpirvdescriptor\"")] - [NativeName("Name", "WGPUSType_ShaderModuleSPIRVDescriptor")] - STypeShaderModuleSpirvdescriptor = 0x5, - [Obsolete("Deprecated in favour of \"ShaderModuleWgsldescriptor\"")] - [NativeName("Name", "WGPUSType_ShaderModuleWGSLDescriptor")] - STypeShaderModuleWgsldescriptor = 0x6, - [Obsolete("Deprecated in favour of \"PrimitiveDepthClipControl\"")] - [NativeName("Name", "WGPUSType_PrimitiveDepthClipControl")] - STypePrimitiveDepthClipControl = 0x7, - [Obsolete("Deprecated in favour of \"SurfaceDescriptorFromWaylandSurface\"")] - [NativeName("Name", "WGPUSType_SurfaceDescriptorFromWaylandSurface")] - STypeSurfaceDescriptorFromWaylandSurface = 0x8, - [Obsolete("Deprecated in favour of \"SurfaceDescriptorFromAndroidNativeWindow\"")] - [NativeName("Name", "WGPUSType_SurfaceDescriptorFromAndroidNativeWindow")] - STypeSurfaceDescriptorFromAndroidNativeWindow = 0x9, - [Obsolete("Deprecated in favour of \"SurfaceDescriptorFromXcbWindow\"")] - [NativeName("Name", "WGPUSType_SurfaceDescriptorFromXcbWindow")] - STypeSurfaceDescriptorFromXcbWindow = 0xA, - [Obsolete("Deprecated in favour of \"RenderPassDescriptorMaxDrawCount\"")] - [NativeName("Name", "WGPUSType_RenderPassDescriptorMaxDrawCount")] - STypeRenderPassDescriptorMaxDrawCount = 0xF, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUSType_Force32")] - STypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUSType_Invalid")] Invalid = 0x0, [NativeName("Name", "WGPUSType_SurfaceDescriptorFromMetalLayer")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/SamplerBindingType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/SamplerBindingType.gen.cs index cf76bdfd88..0e55b2c9e4 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/SamplerBindingType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/SamplerBindingType.gen.cs @@ -15,21 +15,6 @@ public enum SamplerBindingType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUSamplerBindingType_Undefined")] - SamplerBindingTypeUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Filtering\"")] - [NativeName("Name", "WGPUSamplerBindingType_Filtering")] - SamplerBindingTypeFiltering = 0x1, - [Obsolete("Deprecated in favour of \"NonFiltering\"")] - [NativeName("Name", "WGPUSamplerBindingType_NonFiltering")] - SamplerBindingTypeNonFiltering = 0x2, - [Obsolete("Deprecated in favour of \"Comparison\"")] - [NativeName("Name", "WGPUSamplerBindingType_Comparison")] - SamplerBindingTypeComparison = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUSamplerBindingType_Force32")] - SamplerBindingTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUSamplerBindingType_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUSamplerBindingType_Filtering")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/ShaderStage.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/ShaderStage.gen.cs index 7f946316df..0113c69b51 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/ShaderStage.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/ShaderStage.gen.cs @@ -13,21 +13,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUShaderStage")] public enum ShaderStage : int { - [Obsolete("Deprecated in favour of \"None\"")] - [NativeName("Name", "WGPUShaderStage_None")] - ShaderStageNone = 0x0, - [Obsolete("Deprecated in favour of \"Vertex\"")] - [NativeName("Name", "WGPUShaderStage_Vertex")] - ShaderStageVertex = 0x1, - [Obsolete("Deprecated in favour of \"Fragment\"")] - [NativeName("Name", "WGPUShaderStage_Fragment")] - ShaderStageFragment = 0x2, - [Obsolete("Deprecated in favour of \"Compute\"")] - [NativeName("Name", "WGPUShaderStage_Compute")] - ShaderStageCompute = 0x4, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUShaderStage_Force32")] - ShaderStageForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUShaderStage_None")] None = 0x0, [NativeName("Name", "WGPUShaderStage_Vertex")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/StencilOperation.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/StencilOperation.gen.cs index dd70dc702d..49684e0ec5 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/StencilOperation.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/StencilOperation.gen.cs @@ -12,33 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUStencilOperation")] public enum StencilOperation : int { - [Obsolete("Deprecated in favour of \"Keep\"")] - [NativeName("Name", "WGPUStencilOperation_Keep")] - StencilOperationKeep = 0x0, - [Obsolete("Deprecated in favour of \"Zero\"")] - [NativeName("Name", "WGPUStencilOperation_Zero")] - StencilOperationZero = 0x1, - [Obsolete("Deprecated in favour of \"Replace\"")] - [NativeName("Name", "WGPUStencilOperation_Replace")] - StencilOperationReplace = 0x2, - [Obsolete("Deprecated in favour of \"Invert\"")] - [NativeName("Name", "WGPUStencilOperation_Invert")] - StencilOperationInvert = 0x3, - [Obsolete("Deprecated in favour of \"IncrementClamp\"")] - [NativeName("Name", "WGPUStencilOperation_IncrementClamp")] - StencilOperationIncrementClamp = 0x4, - [Obsolete("Deprecated in favour of \"DecrementClamp\"")] - [NativeName("Name", "WGPUStencilOperation_DecrementClamp")] - StencilOperationDecrementClamp = 0x5, - [Obsolete("Deprecated in favour of \"IncrementWrap\"")] - [NativeName("Name", "WGPUStencilOperation_IncrementWrap")] - StencilOperationIncrementWrap = 0x6, - [Obsolete("Deprecated in favour of \"DecrementWrap\"")] - [NativeName("Name", "WGPUStencilOperation_DecrementWrap")] - StencilOperationDecrementWrap = 0x7, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUStencilOperation_Force32")] - StencilOperationForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUStencilOperation_Keep")] Keep = 0x0, [NativeName("Name", "WGPUStencilOperation_Zero")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/StorageTextureAccess.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/StorageTextureAccess.gen.cs index b8c4f1c41f..92eb5f64d2 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/StorageTextureAccess.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/StorageTextureAccess.gen.cs @@ -15,15 +15,6 @@ public enum StorageTextureAccess : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUStorageTextureAccess_Undefined")] - StorageTextureAccessUndefined = 0x0, - [Obsolete("Deprecated in favour of \"WriteOnly\"")] - [NativeName("Name", "WGPUStorageTextureAccess_WriteOnly")] - StorageTextureAccessWriteOnly = 0x1, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUStorageTextureAccess_Force32")] - StorageTextureAccessForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUStorageTextureAccess_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUStorageTextureAccess_WriteOnly")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/StoreOp.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/StoreOp.gen.cs index 62c7f861a4..354f95d422 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/StoreOp.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/StoreOp.gen.cs @@ -15,18 +15,6 @@ public enum StoreOp : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUStoreOp_Undefined")] - StoreOpUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Store\"")] - [NativeName("Name", "WGPUStoreOp_Store")] - StoreOpStore = 0x1, - [Obsolete("Deprecated in favour of \"Discard\"")] - [NativeName("Name", "WGPUStoreOp_Discard")] - StoreOpDiscard = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUStoreOp_Force32")] - StoreOpForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUStoreOp_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUStoreOp_Store")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureAspect.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureAspect.gen.cs index 26fe25dbef..475ad963a3 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureAspect.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureAspect.gen.cs @@ -15,18 +15,6 @@ public enum TextureAspect : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"All\"")] - [NativeName("Name", "WGPUTextureAspect_All")] - TextureAspectAll = 0x0, - [Obsolete("Deprecated in favour of \"StencilOnly\"")] - [NativeName("Name", "WGPUTextureAspect_StencilOnly")] - TextureAspectStencilOnly = 0x1, - [Obsolete("Deprecated in favour of \"DepthOnly\"")] - [NativeName("Name", "WGPUTextureAspect_DepthOnly")] - TextureAspectDepthOnly = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUTextureAspect_Force32")] - TextureAspectForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUTextureAspect_All")] All = 0x0, [NativeName("Name", "WGPUTextureAspect_StencilOnly")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureComponentType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureComponentType.gen.cs index 7993179519..a4bae840a6 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureComponentType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureComponentType.gen.cs @@ -15,21 +15,6 @@ public enum TextureComponentType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Float\"")] - [NativeName("Name", "WGPUTextureComponentType_Float")] - TextureComponentTypeFloat = 0x0, - [Obsolete("Deprecated in favour of \"Sint\"")] - [NativeName("Name", "WGPUTextureComponentType_Sint")] - TextureComponentTypeSint = 0x1, - [Obsolete("Deprecated in favour of \"Uint\"")] - [NativeName("Name", "WGPUTextureComponentType_Uint")] - TextureComponentTypeUint = 0x2, - [Obsolete("Deprecated in favour of \"DepthComparison\"")] - [NativeName("Name", "WGPUTextureComponentType_DepthComparison")] - TextureComponentTypeDepthComparison = 0x3, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUTextureComponentType_Force32")] - TextureComponentTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUTextureComponentType_Float")] Float = 0x0, [NativeName("Name", "WGPUTextureComponentType_Sint")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureFormat.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureFormat.gen.cs index a5a4ab07e1..33f9c4ce71 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureFormat.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureFormat.gen.cs @@ -12,294 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUTextureFormat")] public enum TextureFormat : int { - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUTextureFormat_Undefined")] - TextureFormatUndefined = 0x0, - [Obsolete("Deprecated in favour of \"R8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_R8Unorm")] - TextureFormatR8Unorm = 0x1, - [Obsolete("Deprecated in favour of \"R8Snorm\"")] - [NativeName("Name", "WGPUTextureFormat_R8Snorm")] - TextureFormatR8Snorm = 0x2, - [Obsolete("Deprecated in favour of \"R8Uint\"")] - [NativeName("Name", "WGPUTextureFormat_R8Uint")] - TextureFormatR8Uint = 0x3, - [Obsolete("Deprecated in favour of \"R8Sint\"")] - [NativeName("Name", "WGPUTextureFormat_R8Sint")] - TextureFormatR8Sint = 0x4, - [Obsolete("Deprecated in favour of \"R16Uint\"")] - [NativeName("Name", "WGPUTextureFormat_R16Uint")] - TextureFormatR16Uint = 0x5, - [Obsolete("Deprecated in favour of \"R16Sint\"")] - [NativeName("Name", "WGPUTextureFormat_R16Sint")] - TextureFormatR16Sint = 0x6, - [Obsolete("Deprecated in favour of \"R16float\"")] - [NativeName("Name", "WGPUTextureFormat_R16Float")] - TextureFormatR16float = 0x7, - [Obsolete("Deprecated in favour of \"RG8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_RG8Unorm")] - TextureFormatRG8Unorm = 0x8, - [Obsolete("Deprecated in favour of \"RG8Snorm\"")] - [NativeName("Name", "WGPUTextureFormat_RG8Snorm")] - TextureFormatRG8Snorm = 0x9, - [Obsolete("Deprecated in favour of \"RG8Uint\"")] - [NativeName("Name", "WGPUTextureFormat_RG8Uint")] - TextureFormatRG8Uint = 0xA, - [Obsolete("Deprecated in favour of \"RG8Sint\"")] - [NativeName("Name", "WGPUTextureFormat_RG8Sint")] - TextureFormatRG8Sint = 0xB, - [Obsolete("Deprecated in favour of \"R32float\"")] - [NativeName("Name", "WGPUTextureFormat_R32Float")] - TextureFormatR32float = 0xC, - [Obsolete("Deprecated in favour of \"R32Uint\"")] - [NativeName("Name", "WGPUTextureFormat_R32Uint")] - TextureFormatR32Uint = 0xD, - [Obsolete("Deprecated in favour of \"R32Sint\"")] - [NativeName("Name", "WGPUTextureFormat_R32Sint")] - TextureFormatR32Sint = 0xE, - [Obsolete("Deprecated in favour of \"RG16Uint\"")] - [NativeName("Name", "WGPUTextureFormat_RG16Uint")] - TextureFormatRG16Uint = 0xF, - [Obsolete("Deprecated in favour of \"RG16Sint\"")] - [NativeName("Name", "WGPUTextureFormat_RG16Sint")] - TextureFormatRG16Sint = 0x10, - [Obsolete("Deprecated in favour of \"RG16float\"")] - [NativeName("Name", "WGPUTextureFormat_RG16Float")] - TextureFormatRG16float = 0x11, - [Obsolete("Deprecated in favour of \"Rgba8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA8Unorm")] - TextureFormatRgba8Unorm = 0x12, - [Obsolete("Deprecated in favour of \"Rgba8UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA8UnormSrgb")] - TextureFormatRgba8UnormSrgb = 0x13, - [Obsolete("Deprecated in favour of \"Rgba8Snorm\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA8Snorm")] - TextureFormatRgba8Snorm = 0x14, - [Obsolete("Deprecated in favour of \"Rgba8Uint\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA8Uint")] - TextureFormatRgba8Uint = 0x15, - [Obsolete("Deprecated in favour of \"Rgba8Sint\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA8Sint")] - TextureFormatRgba8Sint = 0x16, - [Obsolete("Deprecated in favour of \"Bgra8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_BGRA8Unorm")] - TextureFormatBgra8Unorm = 0x17, - [Obsolete("Deprecated in favour of \"Bgra8UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_BGRA8UnormSrgb")] - TextureFormatBgra8UnormSrgb = 0x18, - [Obsolete("Deprecated in favour of \"Rgb10A2Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_RGB10A2Unorm")] - TextureFormatRgb10A2Unorm = 0x19, - [Obsolete("Deprecated in favour of \"RG11B10Ufloat\"")] - [NativeName("Name", "WGPUTextureFormat_RG11B10Ufloat")] - TextureFormatRG11B10Ufloat = 0x1A, - [Obsolete("Deprecated in favour of \"Rgb9E5Ufloat\"")] - [NativeName("Name", "WGPUTextureFormat_RGB9E5Ufloat")] - TextureFormatRgb9E5Ufloat = 0x1B, - [Obsolete("Deprecated in favour of \"RG32float\"")] - [NativeName("Name", "WGPUTextureFormat_RG32Float")] - TextureFormatRG32float = 0x1C, - [Obsolete("Deprecated in favour of \"RG32Uint\"")] - [NativeName("Name", "WGPUTextureFormat_RG32Uint")] - TextureFormatRG32Uint = 0x1D, - [Obsolete("Deprecated in favour of \"RG32Sint\"")] - [NativeName("Name", "WGPUTextureFormat_RG32Sint")] - TextureFormatRG32Sint = 0x1E, - [Obsolete("Deprecated in favour of \"Rgba16Uint\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA16Uint")] - TextureFormatRgba16Uint = 0x1F, - [Obsolete("Deprecated in favour of \"Rgba16Sint\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA16Sint")] - TextureFormatRgba16Sint = 0x20, - [Obsolete("Deprecated in favour of \"Rgba16float\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA16Float")] - TextureFormatRgba16float = 0x21, - [Obsolete("Deprecated in favour of \"Rgba32float\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA32Float")] - TextureFormatRgba32float = 0x22, - [Obsolete("Deprecated in favour of \"Rgba32Uint\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA32Uint")] - TextureFormatRgba32Uint = 0x23, - [Obsolete("Deprecated in favour of \"Rgba32Sint\"")] - [NativeName("Name", "WGPUTextureFormat_RGBA32Sint")] - TextureFormatRgba32Sint = 0x24, - [Obsolete("Deprecated in favour of \"Stencil8\"")] - [NativeName("Name", "WGPUTextureFormat_Stencil8")] - TextureFormatStencil8 = 0x25, - [Obsolete("Deprecated in favour of \"Depth16Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_Depth16Unorm")] - TextureFormatDepth16Unorm = 0x26, - [Obsolete("Deprecated in favour of \"Depth24Plus\"")] - [NativeName("Name", "WGPUTextureFormat_Depth24Plus")] - TextureFormatDepth24Plus = 0x27, - [Obsolete("Deprecated in favour of \"Depth24PlusStencil8\"")] - [NativeName("Name", "WGPUTextureFormat_Depth24PlusStencil8")] - TextureFormatDepth24PlusStencil8 = 0x28, - [Obsolete("Deprecated in favour of \"Depth32float\"")] - [NativeName("Name", "WGPUTextureFormat_Depth32Float")] - TextureFormatDepth32float = 0x29, - [Obsolete("Deprecated in favour of \"Depth32floatStencil8\"")] - [NativeName("Name", "WGPUTextureFormat_Depth32FloatStencil8")] - TextureFormatDepth32floatStencil8 = 0x2A, - [Obsolete("Deprecated in favour of \"BC1Rgbaunorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC1RGBAUnorm")] - TextureFormatBC1Rgbaunorm = 0x2B, - [Obsolete("Deprecated in favour of \"BC1RgbaunormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_BC1RGBAUnormSrgb")] - TextureFormatBC1RgbaunormSrgb = 0x2C, - [Obsolete("Deprecated in favour of \"BC2Rgbaunorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC2RGBAUnorm")] - TextureFormatBC2Rgbaunorm = 0x2D, - [Obsolete("Deprecated in favour of \"BC2RgbaunormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_BC2RGBAUnormSrgb")] - TextureFormatBC2RgbaunormSrgb = 0x2E, - [Obsolete("Deprecated in favour of \"BC3Rgbaunorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC3RGBAUnorm")] - TextureFormatBC3Rgbaunorm = 0x2F, - [Obsolete("Deprecated in favour of \"BC3RgbaunormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_BC3RGBAUnormSrgb")] - TextureFormatBC3RgbaunormSrgb = 0x30, - [Obsolete("Deprecated in favour of \"BC4RUnorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC4RUnorm")] - TextureFormatBC4RUnorm = 0x31, - [Obsolete("Deprecated in favour of \"BC4RSnorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC4RSnorm")] - TextureFormatBC4RSnorm = 0x32, - [Obsolete("Deprecated in favour of \"BC5Rgunorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC5RGUnorm")] - TextureFormatBC5Rgunorm = 0x33, - [Obsolete("Deprecated in favour of \"BC5Rgsnorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC5RGSnorm")] - TextureFormatBC5Rgsnorm = 0x34, - [Obsolete("Deprecated in favour of \"BC6Hrgbufloat\"")] - [NativeName("Name", "WGPUTextureFormat_BC6HRGBUfloat")] - TextureFormatBC6Hrgbufloat = 0x35, - [Obsolete("Deprecated in favour of \"BC6Hrgbfloat\"")] - [NativeName("Name", "WGPUTextureFormat_BC6HRGBFloat")] - TextureFormatBC6Hrgbfloat = 0x36, - [Obsolete("Deprecated in favour of \"BC7Rgbaunorm\"")] - [NativeName("Name", "WGPUTextureFormat_BC7RGBAUnorm")] - TextureFormatBC7Rgbaunorm = 0x37, - [Obsolete("Deprecated in favour of \"BC7RgbaunormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_BC7RGBAUnormSrgb")] - TextureFormatBC7RgbaunormSrgb = 0x38, - [Obsolete("Deprecated in favour of \"Etc2Rgb8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ETC2RGB8Unorm")] - TextureFormatEtc2Rgb8Unorm = 0x39, - [Obsolete("Deprecated in favour of \"Etc2Rgb8UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ETC2RGB8UnormSrgb")] - TextureFormatEtc2Rgb8UnormSrgb = 0x3A, - [Obsolete("Deprecated in favour of \"Etc2Rgb8A1Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ETC2RGB8A1Unorm")] - TextureFormatEtc2Rgb8A1Unorm = 0x3B, - [Obsolete("Deprecated in favour of \"Etc2Rgb8A1UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ETC2RGB8A1UnormSrgb")] - TextureFormatEtc2Rgb8A1UnormSrgb = 0x3C, - [Obsolete("Deprecated in favour of \"Etc2Rgba8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ETC2RGBA8Unorm")] - TextureFormatEtc2Rgba8Unorm = 0x3D, - [Obsolete("Deprecated in favour of \"Etc2Rgba8UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ETC2RGBA8UnormSrgb")] - TextureFormatEtc2Rgba8UnormSrgb = 0x3E, - [Obsolete("Deprecated in favour of \"Eacr11Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_EACR11Unorm")] - TextureFormatEacr11Unorm = 0x3F, - [Obsolete("Deprecated in favour of \"Eacr11Snorm\"")] - [NativeName("Name", "WGPUTextureFormat_EACR11Snorm")] - TextureFormatEacr11Snorm = 0x40, - [Obsolete("Deprecated in favour of \"Eacrg11Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_EACRG11Unorm")] - TextureFormatEacrg11Unorm = 0x41, - [Obsolete("Deprecated in favour of \"Eacrg11Snorm\"")] - [NativeName("Name", "WGPUTextureFormat_EACRG11Snorm")] - TextureFormatEacrg11Snorm = 0x42, - [Obsolete("Deprecated in favour of \"Astc4x4Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC4x4Unorm")] - TextureFormatAstc4x4Unorm = 0x43, - [Obsolete("Deprecated in favour of \"Astc4x4UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC4x4UnormSrgb")] - TextureFormatAstc4x4UnormSrgb = 0x44, - [Obsolete("Deprecated in favour of \"Astc5x4Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC5x4Unorm")] - TextureFormatAstc5x4Unorm = 0x45, - [Obsolete("Deprecated in favour of \"Astc5x4UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC5x4UnormSrgb")] - TextureFormatAstc5x4UnormSrgb = 0x46, - [Obsolete("Deprecated in favour of \"Astc5x5Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC5x5Unorm")] - TextureFormatAstc5x5Unorm = 0x47, - [Obsolete("Deprecated in favour of \"Astc5x5UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC5x5UnormSrgb")] - TextureFormatAstc5x5UnormSrgb = 0x48, - [Obsolete("Deprecated in favour of \"Astc6x5Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC6x5Unorm")] - TextureFormatAstc6x5Unorm = 0x49, - [Obsolete("Deprecated in favour of \"Astc6x5UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC6x5UnormSrgb")] - TextureFormatAstc6x5UnormSrgb = 0x4A, - [Obsolete("Deprecated in favour of \"Astc6x6Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC6x6Unorm")] - TextureFormatAstc6x6Unorm = 0x4B, - [Obsolete("Deprecated in favour of \"Astc6x6UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC6x6UnormSrgb")] - TextureFormatAstc6x6UnormSrgb = 0x4C, - [Obsolete("Deprecated in favour of \"Astc8x5Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC8x5Unorm")] - TextureFormatAstc8x5Unorm = 0x4D, - [Obsolete("Deprecated in favour of \"Astc8x5UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC8x5UnormSrgb")] - TextureFormatAstc8x5UnormSrgb = 0x4E, - [Obsolete("Deprecated in favour of \"Astc8x6Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC8x6Unorm")] - TextureFormatAstc8x6Unorm = 0x4F, - [Obsolete("Deprecated in favour of \"Astc8x6UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC8x6UnormSrgb")] - TextureFormatAstc8x6UnormSrgb = 0x50, - [Obsolete("Deprecated in favour of \"Astc8x8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC8x8Unorm")] - TextureFormatAstc8x8Unorm = 0x51, - [Obsolete("Deprecated in favour of \"Astc8x8UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC8x8UnormSrgb")] - TextureFormatAstc8x8UnormSrgb = 0x52, - [Obsolete("Deprecated in favour of \"Astc10x5Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x5Unorm")] - TextureFormatAstc10x5Unorm = 0x53, - [Obsolete("Deprecated in favour of \"Astc10x5UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x5UnormSrgb")] - TextureFormatAstc10x5UnormSrgb = 0x54, - [Obsolete("Deprecated in favour of \"Astc10x6Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x6Unorm")] - TextureFormatAstc10x6Unorm = 0x55, - [Obsolete("Deprecated in favour of \"Astc10x6UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x6UnormSrgb")] - TextureFormatAstc10x6UnormSrgb = 0x56, - [Obsolete("Deprecated in favour of \"Astc10x8Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x8Unorm")] - TextureFormatAstc10x8Unorm = 0x57, - [Obsolete("Deprecated in favour of \"Astc10x8UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x8UnormSrgb")] - TextureFormatAstc10x8UnormSrgb = 0x58, - [Obsolete("Deprecated in favour of \"Astc10x10Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x10Unorm")] - TextureFormatAstc10x10Unorm = 0x59, - [Obsolete("Deprecated in favour of \"Astc10x10UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC10x10UnormSrgb")] - TextureFormatAstc10x10UnormSrgb = 0x5A, - [Obsolete("Deprecated in favour of \"Astc12x10Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC12x10Unorm")] - TextureFormatAstc12x10Unorm = 0x5B, - [Obsolete("Deprecated in favour of \"Astc12x10UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC12x10UnormSrgb")] - TextureFormatAstc12x10UnormSrgb = 0x5C, - [Obsolete("Deprecated in favour of \"Astc12x12Unorm\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC12x12Unorm")] - TextureFormatAstc12x12Unorm = 0x5D, - [Obsolete("Deprecated in favour of \"Astc12x12UnormSrgb\"")] - [NativeName("Name", "WGPUTextureFormat_ASTC12x12UnormSrgb")] - TextureFormatAstc12x12UnormSrgb = 0x5E, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUTextureFormat_Force32")] - TextureFormatForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUTextureFormat_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUTextureFormat_R8Unorm")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureSampleType.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureSampleType.gen.cs index 63432eeeca..447848381b 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureSampleType.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureSampleType.gen.cs @@ -15,27 +15,6 @@ public enum TextureSampleType : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUTextureSampleType_Undefined")] - TextureSampleTypeUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Float\"")] - [NativeName("Name", "WGPUTextureSampleType_Float")] - TextureSampleTypeFloat = 0x1, - [Obsolete("Deprecated in favour of \"UnfilterableFloat\"")] - [NativeName("Name", "WGPUTextureSampleType_UnfilterableFloat")] - TextureSampleTypeUnfilterableFloat = 0x2, - [Obsolete("Deprecated in favour of \"Depth\"")] - [NativeName("Name", "WGPUTextureSampleType_Depth")] - TextureSampleTypeDepth = 0x3, - [Obsolete("Deprecated in favour of \"Sint\"")] - [NativeName("Name", "WGPUTextureSampleType_Sint")] - TextureSampleTypeSint = 0x4, - [Obsolete("Deprecated in favour of \"Uint\"")] - [NativeName("Name", "WGPUTextureSampleType_Uint")] - TextureSampleTypeUint = 0x5, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUTextureSampleType_Force32")] - TextureSampleTypeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUTextureSampleType_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUTextureSampleType_Float")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureUsage.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureUsage.gen.cs index 16af389f10..a7f7f6accb 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/TextureUsage.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/TextureUsage.gen.cs @@ -13,27 +13,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUTextureUsage")] public enum TextureUsage : int { - [Obsolete("Deprecated in favour of \"None\"")] - [NativeName("Name", "WGPUTextureUsage_None")] - TextureUsageNone = 0x0, - [Obsolete("Deprecated in favour of \"CopySrc\"")] - [NativeName("Name", "WGPUTextureUsage_CopySrc")] - TextureUsageCopySrc = 0x1, - [Obsolete("Deprecated in favour of \"CopyDst\"")] - [NativeName("Name", "WGPUTextureUsage_CopyDst")] - TextureUsageCopyDst = 0x2, - [Obsolete("Deprecated in favour of \"TextureBinding\"")] - [NativeName("Name", "WGPUTextureUsage_TextureBinding")] - TextureUsageTextureBinding = 0x4, - [Obsolete("Deprecated in favour of \"StorageBinding\"")] - [NativeName("Name", "WGPUTextureUsage_StorageBinding")] - TextureUsageStorageBinding = 0x8, - [Obsolete("Deprecated in favour of \"RenderAttachment\"")] - [NativeName("Name", "WGPUTextureUsage_RenderAttachment")] - TextureUsageRenderAttachment = 0x10, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUTextureUsage_Force32")] - TextureUsageForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUTextureUsage_None")] None = 0x0, [NativeName("Name", "WGPUTextureUsage_CopySrc")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/VertexFormat.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/VertexFormat.gen.cs index f7fc2bce5c..9eb4919dab 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/VertexFormat.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/VertexFormat.gen.cs @@ -12,102 +12,6 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUVertexFormat")] public enum VertexFormat : int { - [Obsolete("Deprecated in favour of \"Undefined\"")] - [NativeName("Name", "WGPUVertexFormat_Undefined")] - VertexFormatUndefined = 0x0, - [Obsolete("Deprecated in favour of \"Uint8x2\"")] - [NativeName("Name", "WGPUVertexFormat_Uint8x2")] - VertexFormatUint8x2 = 0x1, - [Obsolete("Deprecated in favour of \"Uint8x4\"")] - [NativeName("Name", "WGPUVertexFormat_Uint8x4")] - VertexFormatUint8x4 = 0x2, - [Obsolete("Deprecated in favour of \"Sint8x2\"")] - [NativeName("Name", "WGPUVertexFormat_Sint8x2")] - VertexFormatSint8x2 = 0x3, - [Obsolete("Deprecated in favour of \"Sint8x4\"")] - [NativeName("Name", "WGPUVertexFormat_Sint8x4")] - VertexFormatSint8x4 = 0x4, - [Obsolete("Deprecated in favour of \"Unorm8x2\"")] - [NativeName("Name", "WGPUVertexFormat_Unorm8x2")] - VertexFormatUnorm8x2 = 0x5, - [Obsolete("Deprecated in favour of \"Unorm8x4\"")] - [NativeName("Name", "WGPUVertexFormat_Unorm8x4")] - VertexFormatUnorm8x4 = 0x6, - [Obsolete("Deprecated in favour of \"Snorm8x2\"")] - [NativeName("Name", "WGPUVertexFormat_Snorm8x2")] - VertexFormatSnorm8x2 = 0x7, - [Obsolete("Deprecated in favour of \"Snorm8x4\"")] - [NativeName("Name", "WGPUVertexFormat_Snorm8x4")] - VertexFormatSnorm8x4 = 0x8, - [Obsolete("Deprecated in favour of \"Uint16x2\"")] - [NativeName("Name", "WGPUVertexFormat_Uint16x2")] - VertexFormatUint16x2 = 0x9, - [Obsolete("Deprecated in favour of \"Uint16x4\"")] - [NativeName("Name", "WGPUVertexFormat_Uint16x4")] - VertexFormatUint16x4 = 0xA, - [Obsolete("Deprecated in favour of \"Sint16x2\"")] - [NativeName("Name", "WGPUVertexFormat_Sint16x2")] - VertexFormatSint16x2 = 0xB, - [Obsolete("Deprecated in favour of \"Sint16x4\"")] - [NativeName("Name", "WGPUVertexFormat_Sint16x4")] - VertexFormatSint16x4 = 0xC, - [Obsolete("Deprecated in favour of \"Unorm16x2\"")] - [NativeName("Name", "WGPUVertexFormat_Unorm16x2")] - VertexFormatUnorm16x2 = 0xD, - [Obsolete("Deprecated in favour of \"Unorm16x4\"")] - [NativeName("Name", "WGPUVertexFormat_Unorm16x4")] - VertexFormatUnorm16x4 = 0xE, - [Obsolete("Deprecated in favour of \"Snorm16x2\"")] - [NativeName("Name", "WGPUVertexFormat_Snorm16x2")] - VertexFormatSnorm16x2 = 0xF, - [Obsolete("Deprecated in favour of \"Snorm16x4\"")] - [NativeName("Name", "WGPUVertexFormat_Snorm16x4")] - VertexFormatSnorm16x4 = 0x10, - [Obsolete("Deprecated in favour of \"Float16x2\"")] - [NativeName("Name", "WGPUVertexFormat_Float16x2")] - VertexFormatFloat16x2 = 0x11, - [Obsolete("Deprecated in favour of \"Float16x4\"")] - [NativeName("Name", "WGPUVertexFormat_Float16x4")] - VertexFormatFloat16x4 = 0x12, - [Obsolete("Deprecated in favour of \"Float32\"")] - [NativeName("Name", "WGPUVertexFormat_Float32")] - VertexFormatFloat32 = 0x13, - [Obsolete("Deprecated in favour of \"Float32x2\"")] - [NativeName("Name", "WGPUVertexFormat_Float32x2")] - VertexFormatFloat32x2 = 0x14, - [Obsolete("Deprecated in favour of \"Float32x3\"")] - [NativeName("Name", "WGPUVertexFormat_Float32x3")] - VertexFormatFloat32x3 = 0x15, - [Obsolete("Deprecated in favour of \"Float32x4\"")] - [NativeName("Name", "WGPUVertexFormat_Float32x4")] - VertexFormatFloat32x4 = 0x16, - [Obsolete("Deprecated in favour of \"Uint32\"")] - [NativeName("Name", "WGPUVertexFormat_Uint32")] - VertexFormatUint32 = 0x17, - [Obsolete("Deprecated in favour of \"Uint32x2\"")] - [NativeName("Name", "WGPUVertexFormat_Uint32x2")] - VertexFormatUint32x2 = 0x18, - [Obsolete("Deprecated in favour of \"Uint32x3\"")] - [NativeName("Name", "WGPUVertexFormat_Uint32x3")] - VertexFormatUint32x3 = 0x19, - [Obsolete("Deprecated in favour of \"Uint32x4\"")] - [NativeName("Name", "WGPUVertexFormat_Uint32x4")] - VertexFormatUint32x4 = 0x1A, - [Obsolete("Deprecated in favour of \"Sint32\"")] - [NativeName("Name", "WGPUVertexFormat_Sint32")] - VertexFormatSint32 = 0x1B, - [Obsolete("Deprecated in favour of \"Sint32x2\"")] - [NativeName("Name", "WGPUVertexFormat_Sint32x2")] - VertexFormatSint32x2 = 0x1C, - [Obsolete("Deprecated in favour of \"Sint32x3\"")] - [NativeName("Name", "WGPUVertexFormat_Sint32x3")] - VertexFormatSint32x3 = 0x1D, - [Obsolete("Deprecated in favour of \"Sint32x4\"")] - [NativeName("Name", "WGPUVertexFormat_Sint32x4")] - VertexFormatSint32x4 = 0x1E, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUVertexFormat_Force32")] - VertexFormatForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUVertexFormat_Undefined")] Undefined = 0x0, [NativeName("Name", "WGPUVertexFormat_Uint8x2")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/VertexStepMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/VertexStepMode.gen.cs index 12f0d0853d..32398632a2 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/VertexStepMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/VertexStepMode.gen.cs @@ -15,18 +15,6 @@ public enum VertexStepMode : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Vertex\"")] - [NativeName("Name", "WGPUVertexStepMode_Vertex")] - VertexStepModeVertex = 0x0, - [Obsolete("Deprecated in favour of \"Instance\"")] - [NativeName("Name", "WGPUVertexStepMode_Instance")] - VertexStepModeInstance = 0x1, - [Obsolete("Deprecated in favour of \"VertexBufferNotUsed\"")] - [NativeName("Name", "WGPUVertexStepMode_VertexBufferNotUsed")] - VertexStepModeVertexBufferNotUsed = 0x2, - [Obsolete("Deprecated in favour of \"Force32\"")] - [NativeName("Name", "WGPUVertexStepMode_Force32")] - VertexStepModeForce32 = 0x7FFFFFFF, [NativeName("Name", "WGPUVertexStepMode_Vertex")] Vertex = 0x0, [NativeName("Name", "WGPUVertexStepMode_Instance")]