gpu: add BlendComponent
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a463a0c7cd
commit
5bce559ce4
3 changed files with 16 additions and 9 deletions
|
|
@ -1,3 +1,6 @@
|
|||
const BlendOperation = @import("enums.zig").BlendOperation;
|
||||
const BlendFactor = @import("enums.zig").BlendFactor;
|
||||
|
||||
// TODO: docs
|
||||
pub const Limits = struct {
|
||||
max_texture_dimension_1d: u32,
|
||||
|
|
@ -26,4 +29,10 @@ pub const Limits = struct {
|
|||
max_compute_workgroup_size_y: u32,
|
||||
max_compute_workgroup_size_z: u32,
|
||||
max_compute_workgroups_per_dimension: u32,
|
||||
};
|
||||
};
|
||||
|
||||
pub const BlendComponent = struct {
|
||||
operation: BlendOperation,
|
||||
src_factor: BlendFactor,
|
||||
dst_factor: BlendFactor,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue