gpu: add StencilFaceState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9b08741970
commit
ad03565ff5
3 changed files with 13 additions and 9 deletions
|
|
@ -1,5 +1,7 @@
|
|||
const BlendOperation = @import("enums.zig").BlendOperation;
|
||||
const BlendFactor = @import("enums.zig").BlendFactor;
|
||||
const CompareFunction = @import("enums.zig").CompareFunction;
|
||||
const StencilOperation = @import("enums.zig").StencilOperation;
|
||||
|
||||
// TODO: docs
|
||||
pub const Limits = extern struct {
|
||||
|
|
@ -55,3 +57,10 @@ pub const Origin3D = extern struct {
|
|||
y: u32,
|
||||
z: u32,
|
||||
};
|
||||
|
||||
pub const StencilFaceState = extern struct {
|
||||
compare: CompareFunction,
|
||||
fail_op: StencilOperation,
|
||||
depth_fail_op: StencilOperation,
|
||||
pass_op: StencilOperation,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue