gpu: implement Device.nativeCreateSwapChain, SwapChain
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
738e9da8ee
commit
e9ac31f264
6 changed files with 112 additions and 143 deletions
|
|
@ -34,8 +34,12 @@ pub const Limits = @import("Limits.zig");
|
|||
pub const Queue = @import("Queue.zig");
|
||||
pub const CommandBuffer = @import("CommandBuffer.zig");
|
||||
pub const ShaderModule = @import("ShaderModule.zig");
|
||||
pub const SwapChain = @import("SwapChain.zig");
|
||||
|
||||
pub const FeatureName = @import("feature_name.zig").FeatureName;
|
||||
pub const TextureUsage = @import("texture_usage.zig").TextureUsage;
|
||||
pub const TextureFormat = @import("texture_format.zig").TextureFormat;
|
||||
pub const PresentMode = @import("present_mode.zig").PresentMode;
|
||||
|
||||
test "syntax" {
|
||||
_ = Interface;
|
||||
|
|
@ -48,6 +52,7 @@ test "syntax" {
|
|||
_ = Queue;
|
||||
_ = CommandBuffer;
|
||||
_ = ShaderModule;
|
||||
_ = SwapChain;
|
||||
|
||||
_ = FeatureName;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue