RobWorkProject  20.10.1-
Public Types | Public Attributes | List of all members
Model3D::MaterialPolys Struct Reference

ordering polygons by material consumes more memmory but reduce switches between textures. All indices _subFaces share material _matIndex. More...

#include <Model3D.hpp>

Public Types

typedef rw::core::Ptr< MaterialPolysPtr
 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
 

Detailed Description

ordering polygons by material consumes more memmory but reduce switches between textures. All indices _subFaces share material _matIndex.


The documentation for this struct was generated from the following file: