gpu: add Origin3D
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
edf66b6b8d
commit
9b08741970
3 changed files with 8 additions and 6 deletions
|
|
@ -377,12 +377,6 @@ typedef struct WGPURenderPassTimestampWrite {
|
|||
|
||||
|
||||
|
||||
typedef struct WGPUOrigin3D {
|
||||
uint32_t x;
|
||||
uint32_t y;
|
||||
uint32_t z;
|
||||
} WGPUOrigin3D;
|
||||
|
||||
typedef struct WGPURenderPassDepthStencilAttachment {
|
||||
WGPUTextureView view;
|
||||
WGPULoadOp depthLoadOp;
|
||||
|
|
|
|||
|
|
@ -78,6 +78,8 @@ pub const ComputePipeline = @import("ComputePipeline.zig");
|
|||
pub const Limits = @import("structs.zig").Limits;
|
||||
pub const BlendComponent = @import("structs.zig").BlendComponent;
|
||||
pub const Color = @import("structs.zig").Color;
|
||||
pub const Extent3D = @import("structs.zig").Extent3D;
|
||||
pub const Origin3D = @import("structs.zig").Origin3D;
|
||||
|
||||
// Enumerations
|
||||
pub const Feature = @import("enums.zig").Feature;
|
||||
|
|
|
|||
|
|
@ -49,3 +49,9 @@ pub const Extent3D = extern struct {
|
|||
height: u32,
|
||||
depth_or_array_layers: u32,
|
||||
};
|
||||
|
||||
pub const Origin3D = extern struct {
|
||||
x: u32,
|
||||
y: u32,
|
||||
z: u32,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue