1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
3 | #pragma once |
4 | |
5 | #include "BsPrerequisites.h" |
6 | #include "2D/BsSpriteMaterial.h" |
7 | |
8 | namespace bs |
9 | { |
10 | /** @addtogroup 2D-Internal |
11 | * @{ |
12 | */ |
13 | |
14 | /** Sprite material used for rendering images. */ |
15 | class BS_EXPORT SpriteImageMaterial : public SpriteMaterial |
16 | { |
17 | public: |
18 | SpriteImageMaterial(bool transparent, bool animated = false); |
19 | }; |
20 | |
21 | /** Sprite material used for rendering text. */ |
22 | class BS_EXPORT SpriteTextMaterial : public SpriteMaterial |
23 | { |
24 | public: |
25 | SpriteTextMaterial(); |
26 | }; |
27 | |
28 | /** Sprite material used for antialiased lines. */ |
29 | class BS_EXPORT SpriteLineMaterial : public SpriteMaterial |
30 | { |
31 | public: |
32 | SpriteLineMaterial(); |
33 | }; |
34 | |
35 | /** @} */ |
36 | } |