mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
LibGL+LibGPU+LibSoftGPU: Move StencilConfiguration.h to LibGPU
This commit is contained in:
parent
b652db1f54
commit
e416380826
8 changed files with 73 additions and 41 deletions
25
Userland/Libraries/LibGPU/StencilConfiguration.h
Normal file
25
Userland/Libraries/LibGPU/StencilConfiguration.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Jelle Raaijmakers <jelle@gmta.nl>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibGPU/Config.h>
|
||||
#include <LibGPU/Enums.h>
|
||||
|
||||
namespace GPU {
|
||||
|
||||
struct StencilConfiguration {
|
||||
StencilTestFunction test_function;
|
||||
StencilType reference_value;
|
||||
StencilType test_mask;
|
||||
|
||||
StencilOperation on_stencil_test_fail;
|
||||
StencilOperation on_depth_test_fail;
|
||||
StencilOperation on_pass;
|
||||
StencilType write_mask;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue