1// Aseprite Render Library
2// Copyright (C) 2019 Igara Studio S.A.
3// Copyright (C) 2001-2015 David Capello
4//
5// This file is released under the terms of the MIT license.
6// Read LICENSE.txt for more information.
7
8#ifndef RENDER_EXTRA_TYPE_H_INCLUDED
9#define RENDER_EXTRA_TYPE_H_INCLUDED
10#pragma once
11
12namespace render {
13
14 enum class ExtraType {
15 NONE,
16
17 // The extra cel indicates a "patch" for the current layer/frame
18 // given in Render::setExtraImage()
19 PATCH,
20
21 // The extra cel indicates an extra composition for the current
22 // layer/frame.
23 COMPOSITE,
24
25 // Composite the current cel two times (don't use the extral cel),
26 // but the second time using the extral blend mode.
27 OVER_COMPOSITE,
28 };
29
30} // namespace render
31
32#endif
33