-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added delegates, commands are using delegates now, but we need to add…
… the parameters to them.
- Loading branch information
Showing
4 changed files
with
81 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
|
||
namespace WaveEngine.Bindings.WebGPU | ||
{ | ||
public unsafe delegate void WGPUBufferMapReadCallback(); | ||
|
||
public unsafe delegate void WGPUBufferMapWriteCallback(); | ||
|
||
public unsafe delegate void WGPUDeviceLostCallback(); | ||
|
||
public unsafe delegate void WGPUErrorCallback(); | ||
|
||
public unsafe delegate void WGPUFenceOnCompletionCallback(); | ||
|
||
public unsafe delegate void WGPURequestAdapterCallback(); | ||
|
||
public unsafe delegate void WGPURequestDeviceCallback(); | ||
|
||
public unsafe delegate void WGPUSurfaceGetPreferredFormatCallback(); | ||
|
||
public unsafe delegate void WGPUProc(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters