gpu: inline TODOs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8453b0d2a6
commit
b0adf42c70
25 changed files with 1939 additions and 605 deletions
|
|
@ -2,7 +2,19 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
|
|||
const RequestAdapterStatus = @import("types.zig").RequestAdapterStatus;
|
||||
const Adapter = @import("adapter.zig").Adapter;
|
||||
|
||||
pub const Instance = *opaque {};
|
||||
pub const Instance = *opaque {
|
||||
// TODO
|
||||
// pub inline fn instanceCreateSurface(instance: gpu.Instance, descriptor: *const gpu.SurfaceDescriptor) gpu.Surface {
|
||||
|
||||
// TODO
|
||||
// pub inline fn instanceRequestAdapter(instance: gpu.Instance, options: *const gpu.RequestAdapterOptions, callback: gpu.RequestAdapterCallback, userdata: *anyopaque) void {
|
||||
|
||||
// TODO
|
||||
// pub inline fn instanceReference(instance: gpu.Instance) void {
|
||||
|
||||
// TODO
|
||||
// pub inline fn instanceRelease(instance: gpu.Instance) void {
|
||||
};
|
||||
|
||||
pub const RequestAdapterCallback = fn (
|
||||
status: RequestAdapterStatus,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue