KDeclarative

BadgeEffect.qml
1/*
2 SPDX-FileCopyrightText: 2023 Mike Noe <noeerover@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7import QtQuick
8
9/**
10 * Uses the badge overlay shader to display on an Item
11 */
12
13ShaderEffect {
14
15 required property var source
16 required property var mask
17
18 supportsAtlasTextures: true
19 fragmentShader: Qt.resolvedUrl("qrc:/shaders/badge.frag.qsb")
20}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.