Hyprland/src/helpers/TransferFunction.hpp
UjinT34 a5858018d8
renderer: shader variants refactor (#13434)
Part 0 of renderer reworks.
2026-03-06 21:05:10 +00:00

19 lines
410 B
C++

#pragma once
#include <cstdint>
#include <string>
namespace NTransferFunction {
enum eTF : uint8_t {
TF_DEFAULT = 0,
TF_AUTO = 1,
TF_SRGB = 2,
TF_GAMMA22 = 3,
TF_FORCED_GAMMA22 = 4,
};
eTF fromString(const std::string tfName);
std::string toString(eTF tf);
eTF fromConfig(bool useICC = false);
}