|
| 1 | +// Licensed to the .NET Foundation under one or more agreements. |
| 2 | +// The .NET Foundation licenses this file to you under the MIT license. |
| 3 | +// Ported from the OpenCL headers and corresponding dependencies. |
| 4 | +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. |
| 5 | +using System; |
| 6 | +using System.Diagnostics.CodeAnalysis; |
| 7 | +using System.Runtime.CompilerServices; |
| 8 | +using System.Runtime.InteropServices; |
| 9 | + |
| 10 | +namespace Silk.NET.OpenCL; |
| 11 | + |
| 12 | +[NativeName("cl_channel_type")] |
| 13 | +public enum ChannelType : uint |
| 14 | +{ |
| 15 | + [NativeName("CL_SNORM_INT8")] |
| 16 | + SnormInt8 = 4304, |
| 17 | + |
| 18 | + [NativeName("CL_SNORM_INT16")] |
| 19 | + SnormInt16 = 4305, |
| 20 | + |
| 21 | + [NativeName("CL_UNORM_INT8")] |
| 22 | + UnormInt8 = 4306, |
| 23 | + |
| 24 | + [NativeName("CL_UNORM_INT16")] |
| 25 | + UnormInt16 = 4307, |
| 26 | + |
| 27 | + [NativeName("CL_UNORM_SHORT_565")] |
| 28 | + UnormShort565 = 4308, |
| 29 | + |
| 30 | + [NativeName("CL_UNORM_SHORT_555")] |
| 31 | + UnormShort555 = 4309, |
| 32 | + |
| 33 | + [NativeName("CL_UNORM_INT_101010")] |
| 34 | + UnormInt101010 = 4310, |
| 35 | + |
| 36 | + [NativeName("CL_SIGNED_INT8")] |
| 37 | + SignedInt8 = 4311, |
| 38 | + |
| 39 | + [NativeName("CL_SIGNED_INT16")] |
| 40 | + SignedInt16 = 4312, |
| 41 | + |
| 42 | + [NativeName("CL_SIGNED_INT32")] |
| 43 | + SignedInt32 = 4313, |
| 44 | + |
| 45 | + [NativeName("CL_UNSIGNED_INT8")] |
| 46 | + UnsignedInt8 = 4314, |
| 47 | + |
| 48 | + [NativeName("CL_UNSIGNED_INT16")] |
| 49 | + UnsignedInt16 = 4315, |
| 50 | + |
| 51 | + [NativeName("CL_UNSIGNED_INT32")] |
| 52 | + UnsignedInt32 = 4316, |
| 53 | + |
| 54 | + [NativeName("CL_HALF_FLOAT")] |
| 55 | + HalfFloat = 4317, |
| 56 | + |
| 57 | + [NativeName("CL_FLOAT")] |
| 58 | + Float = 4318, |
| 59 | + |
| 60 | + [NativeName("CL_UNORM_INT_101010_2")] |
| 61 | + UnormInt101010x2 = 4320, |
| 62 | +} |
0 commit comments