1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:57:45 +00:00

LibGL+LibGPU+LibSoftGPU: Move TexCoordGenerationConfig into LibGPU

This commit is contained in:
Stephan Unverwerth 2022-03-27 15:28:08 +02:00 committed by Andreas Kling
parent 8f359bf758
commit 5a5596b381
3 changed files with 22 additions and 7 deletions

View 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 {};
};
}