alexandre mommers
09/28/2024, 10:41 PMvalue class WGPUQueue2(val value: webgpu.native.WGPUQueue)
actual typealias WGPUQueue = WGPUQueue2
actual typealias WGPUQueue = webgpu.native.WGPUQueue
actual typealias WGPUQueue = kotlinx.cinterop.CPointer<cnames.structs.WGPUQueueImpl>
But the compiler is giving me errors, and I'm stuck with this :
actual class WGPUQueue(val value: webgpu.native.WGPUQueue)
Does anyone have any ideas for how to achieve this without creating a new class to wrap my type, regardless of the target platform?