![]() |
RobWorkProject
23.9.11-
|
ordering polygons by material consumes more memmory but reduce switches between textures. All indices _subFaces share material _matIndex. More...
#include <Object3D.hpp>
Public Types | |
| typedef rw::core::Ptr< MaterialPolys > | Ptr |
| Smart pointer type for MaterialPolys. | |
Public Attributes | |
| std::vector< rw::geometry::IndexedPolygonN< uint16_t > > | _subPolys |
| Index into the vertice array of the Object3D. The _subFaces is a subset of _indices from Object3D. | |
| int | _matIndex |
| the material index shared by all polygons _subPolys | |
ordering polygons by material consumes more memmory but reduce switches between textures. All indices _subFaces share material _matIndex.