mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:37:45 +00:00
LibGL+LibGPU+LibSoftGPU: Move TexCoordGenerationConfig into LibGPU
This commit is contained in:
parent
8f359bf758
commit
5a5596b381
3 changed files with 22 additions and 7 deletions
19
Userland/Libraries/LibGPU/TexCoordGenerationConfig.h
Normal file
19
Userland/Libraries/LibGPU/TexCoordGenerationConfig.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Jelle Raaijmakers <jelle@gmta.nl>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibGPU/Enums.h>
|
||||
#include <LibGfx/Vector4.h>
|
||||
|
||||
namespace GPU {
|
||||
|
||||
struct TexCoordGenerationConfig {
|
||||
GPU::TexCoordGenerationMode mode { GPU::TexCoordGenerationMode::EyeLinear };
|
||||
FloatVector4 coefficients {};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue