|
using | vertex_type = Vertex |
|
using | surface_type = Surface |
|
|
| generic_scene_data (util::aligned::vector< triangle > triangles, util::aligned::vector< vertex_type > vertices, util::aligned::vector< surface_type > surfaces) |
|
const util::aligned::vector< triangle > & | get_triangles () const |
|
const util::aligned::vector< vertex_type > & | get_vertices () const |
|
const util::aligned::vector< surface_type > & | get_surfaces () const |
|
void | swap (generic_scene_data &rhs) noexcept |
|
template<typename It > |
void | set_surfaces (It begin, It end) |
|
void | set_surfaces (const surface_type &surface) |
|
template<typename Vertex, typename Surface>
template<typename It >
This looks dumb, but the idea is to maintain the strong exception safety guarantee.
template<typename Vertex, typename Surface>
Strongly exception safe as long as surface_type has a nothrow copy constructor, which it should do if it is POD.
The documentation for this class was generated from the following file: