133 GLfloat lineThickness = 2.0f; |
133 GLfloat lineThickness = 2.0f; |
134 bool lineAntiAliasing = true; |
134 bool lineAntiAliasing = true; |
135 bool drawAxes = true; |
135 bool drawAxes = true; |
136 }; |
136 }; |
137 } |
137 } |
|
138 |
|
139 Q_DECLARE_METATYPE(gl::RenderStyle) |
|
140 |
|
141 inline QDataStream &operator<<(QDataStream& stream, const gl::RenderStyle style) |
|
142 { |
|
143 return stream << enum_value_cast(style); |
|
144 } |
|
145 |
|
146 inline QDataStream &operator>>(QDataStream& stream, gl::RenderStyle& style) |
|
147 { |
|
148 return stream >> enum_value_cast(style); |
|
149 } |