1 /* 2 * This file is part of KQuickCharts 3 * SPDX-FileCopyrightText: 2019 Arjen Hiemstra <ahiemstra@heimr.nl> 4 * 5 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 6 */ 7 8 #ifndef SDF_SHADER_H 9 #define SDF_SHADER_H 10 11 #include <QSGMaterialShader> 12 13 class SDFShader : public QSGMaterialShader 14 { 15 public: 16 SDFShader(); 17 virtual ~SDFShader(); 18 19 void setShaders(const QString &vertex, const QString &fragment); 20 }; 21 22 #endif // SDF_SHADER_H 23