gpu: add Extent3D
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8abcbd6444
commit
edf66b6b8d
2 changed files with 6 additions and 6 deletions
|
|
@ -377,12 +377,6 @@ typedef struct WGPURenderPassTimestampWrite {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct WGPUExtent3D {
|
|
||||||
uint32_t width;
|
|
||||||
uint32_t height;
|
|
||||||
uint32_t depthOrArrayLayers;
|
|
||||||
} WGPUExtent3D;
|
|
||||||
|
|
||||||
typedef struct WGPUOrigin3D {
|
typedef struct WGPUOrigin3D {
|
||||||
uint32_t x;
|
uint32_t x;
|
||||||
uint32_t y;
|
uint32_t y;
|
||||||
|
|
|
||||||
|
|
@ -43,3 +43,9 @@ pub const Color = extern struct {
|
||||||
b: f64,
|
b: f64,
|
||||||
a: f64,
|
a: f64,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const Extent3D = extern struct {
|
||||||
|
width: u32,
|
||||||
|
height: u32,
|
||||||
|
depth_or_array_layers: u32,
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue