Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 57 additions & 99 deletions WebGPUGen/Evergine.Bindings.WebGPU/Generated/Commands.cs

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions WebGPUGen/Evergine.Bindings.WebGPU/Generated/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ public static partial class WebGPUNative
{
public const ulong WGPU_ARRAY_LAYER_COUNT_UNDEFINED = 0xffffffffUL;
public const ulong WGPU_COPY_STRIDE_UNDEFINED = 0xffffffffUL;
public const ulong WGPU_DEPTH_SLICE_UNDEFINED = 0xffffffffUL;
public const ulong WGPU_LIMIT_U32_UNDEFINED = 0xffffffffUL;
public const ulong WGPU_LIMIT_U64_UNDEFINED = 0xffffffffffffffffUL;
public const ulong WGPU_MIP_LEVEL_COUNT_UNDEFINED = 0xffffffffUL;
public const ulong WGPU_QUERY_SET_INDEX_UNDEFINED = 0xffffffffUL;
public static readonly nuint WGPU_WHOLE_MAP_SIZE = nuint.MaxValue;
public const ulong WGPU_WHOLE_SIZE = 0xffffffffffffffffUL;
}
Expand Down
53 changes: 24 additions & 29 deletions WebGPUGen/Evergine.Bindings.WebGPU/Generated/Delegates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,52 @@

namespace Evergine.Bindings.WebGPU
{
public unsafe delegate void WGPUProc();

public unsafe delegate void WGPUDeviceLostCallback(
WGPUDeviceLostReason reason,
char* message,
void* userdata);

public unsafe delegate void WGPUErrorCallback(
WGPUErrorType type,
char* message,
void* userdata);

public unsafe delegate void WGPUAdapterRequestDeviceCallback(
WGPURequestDeviceStatus status,
WGPUDevice device,
char* message,
public unsafe delegate void WGPUBufferMapCallback(
WGPUBufferMapAsyncStatus status,
void* userdata);

public unsafe delegate void WGPUBufferMapAsyncCallback(
WGPUBufferMapAsyncStatus status,
public unsafe delegate void WGPUCompilationInfoCallback(
WGPUCompilationInfoRequestStatus status,
WGPUCompilationInfo* compilationInfo,
void* userdata);

public unsafe delegate void WGPUDeviceCreateComputePipelineAsyncCallback(
public unsafe delegate void WGPUCreateComputePipelineAsyncCallback(
WGPUCreatePipelineAsyncStatus status,
WGPUComputePipeline pipeline,
char* message,
void* userdata);

public unsafe delegate void WGPUDeviceCreateRenderPipelineAsyncCallback(
public unsafe delegate void WGPUCreateRenderPipelineAsyncCallback(
WGPUCreatePipelineAsyncStatus status,
WGPURenderPipeline pipeline,
char* message,
void* userdata);

public unsafe delegate void WGPUInstanceRequestAdapterCallback(
WGPURequestAdapterStatus status,
WGPUAdapter adapter,
public unsafe delegate void WGPUDeviceLostCallback(
WGPUDeviceLostReason reason,
char* message,
void* userdata);

public unsafe delegate void WGPUErrorCallback(
WGPUErrorType type,
char* message,
void* userdata);

public unsafe delegate void WGPUQueueOnSubmittedWorkDoneCallback(
public unsafe delegate void WGPUProc();

public unsafe delegate void WGPUQueueWorkDoneCallback(
WGPUQueueWorkDoneStatus status,
void* userdata);

public unsafe delegate void WGPUShaderModuleGetCompilationInfoCallback(
WGPUCompilationInfoRequestStatus status,
WGPUCompilationInfo* compilationInfo,
public unsafe delegate void WGPURequestAdapterCallback(
WGPURequestAdapterStatus status,
WGPUAdapter adapter,
char* message,
void* userdata);

public unsafe delegate void WGPULogCallback(
WGPULogLevel level,
public unsafe delegate void WGPURequestDeviceCallback(
WGPURequestDeviceStatus status,
WGPUDevice device,
char* message,
void* userdata);

Expand Down
Loading