1 /* 2 * Copyright (C) 2006-2019 Christopho, Solarus - http://www.solarus-games.org 3 * 4 * Solarus is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * Solarus is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License along 15 * with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 #ifndef SOLARUS_BLEND_MODE_H 18 #define SOLARUS_BLEND_MODE_H 19 20 namespace Solarus { 21 22 /** 23 * \brief Possible blend modes for drawable objects. 24 */ 25 enum class BlendMode { 26 27 NONE, /**< No blending: the destination is replaced by the source. */ 28 BLEND, /**< Alpha blending (default). */ 29 ADD, /**< Additive blending. */ 30 MULTIPLY /**< Multiplicative blending (color modulate). */ 31 }; 32 33 } 34 35 #endif 36 37