#pragma once #include #include #include typedef struct { WGPUBuffer buffer; int count; int stride; } VertexBuffer5Impl; typedef struct { WGPUBuffer buffer; } ConstantBuffer5Impl; typedef struct { WGPUBuffer buffer; int count; } IndexBuffer5Impl; typedef struct { WGPUTexture texture; } Texture5Impl; typedef struct { WGPURenderPipeline pipeline; } PipelineState5Impl; typedef struct { WGPUComputePipeline pipeline; } ComputePipelineState5Impl; typedef struct { int vertexOffset; int fragmentOffset; int computeOffset; } ConstantLocation5Impl; typedef struct iron_gpu_sampler_impl { int a; } iron_gpu_sampler_impl_t; struct WGPUShaderModuleImpl; typedef struct { WGPUShaderModule module; } Shader5Impl; typedef struct { WGPUCommandEncoder encoder; WGPURenderPassEncoder pass; int indexCount; } CommandList5Impl; typedef struct iron_gpu_compute_shader_impl { int nothing; } iron_gpu_compute_shader_impl;