FastUIDraw
painter_attribute.hpp
Go to the documentation of this file.
1 /*!
2  * \file painter_attribute.hpp
3  * \brief file painter_attribute.hpp
4  *
5  * Copyright 2016 by Intel.
6  *
7  * Contact: kevin.rogovin@gmail.com
8  *
9  * This Source Code Form is subject to the
10  * terms of the Mozilla Public License, v. 2.0.
11  * If a copy of the MPL was not distributed with
12  * this file, You can obtain one at
13  * http://mozilla.org/MPL/2.0/.
14  *
15  * \author Kevin Rogovin <kevin.rogovin@gmail.com>
16  *
17  */
18 
19 
20 #ifndef FASTUIDRAW_PAINTER_ATTRIBUTE_HPP
21 #define FASTUIDRAW_PAINTER_ATTRIBUTE_HPP
22 
23 
24 #include <fastuidraw/util/vecN.hpp>
25 namespace fastuidraw
26 {
27 /*!\addtogroup PainterAttribute
28  * @{
29  */
30 
31  /*!
32  * \brief
33  * The attribute data generated/filled by \ref Painter.
34  * Attribute data is sent to 3D API as raw bits with
35  * the expectation that shaders will cast the bits
36  * to the appropiate types for themselves.
37  */
39  {
40  public:
41  /*!
42  * conveniance typedef to declare point to an element
43  * of PainterAttribute.
44  */
46 
47  /*!
48  * Generic attribute data
49  */
51 
52  /*!
53  * Generic attribute data
54  */
56 
57  /*!
58  * Generic attribute data
59  */
61  };
62 
63  /*!
64  * \brief
65  * Typedef for the index type used by \ref Painter
66  */
67  typedef uint32_t PainterIndex;
68 
69 /*! @} */
70 }
71 
72 #endif
all classes and functions of FastUIDraw are in the namespace fastuidraw.
Definition: colorstop.hpp:28
uint32_t PainterIndex
Typedef for the index type used by Painter.
The attribute data generated/filled by Painter. Attribute data is sent to 3D API as raw bits with the...
file vecN.hpp
uvec4 PainterAttribute::* pointer_to_field