GpuDriver Core and GpuDriver both are merged into one type called Platform. Also previously the fields and methods which were called as ``engine.core.field`` will now be ``engine.field`` i.e an extra layer is removed.
7 lines
290 B
Zig
7 lines
290 B
Zig
const builtin = @import("builtin");
|
|
|
|
const Platform = if (builtin.cpu.arch == .wasm32) @import("platform/wasm.zig") else @import("platform/native.zig");
|
|
|
|
// TODO: verify declarations and its signatures
|
|
pub const Type = Platform.Platform;
|
|
pub const BackingTimerType = Platform.BackingTimer;
|