The following represent flags describing various flags that can be set on the mesh, vertices and faces.
More...
The following represent flags describing various flags that can be set on the mesh, vertices and faces.
Not all flags can be applied to each sub object type.
◆ MESH_EDGE_LIST
#define MESH_EDGE_LIST (1<<1) |
Edge list.
This flag is obsolete.
◆ MESH_LOCK_RENDDATA
#define MESH_LOCK_RENDDATA (1<<2) |
Setting this flag prevents render data from being deleted (except when the mesh is deleted).
◆ MESH_SMOOTH_BIT1
#define MESH_SMOOTH_BIT1 (1<<3) |
◆ MESH_SMOOTH_BIT2
#define MESH_SMOOTH_BIT2 (1<<4) |
◆ MESH_SMOOTH_BIT3
#define MESH_SMOOTH_BIT3 (1<<5) |
◆ MESH_SMOOTH_BIT4
#define MESH_SMOOTH_BIT4 (1<<6) |
◆ MESH_SMOOTH_MASK
#define MESH_SMOOTH_MASK 0x78 |
Flag mask for SMOOTH_BIT's 1 thru 4.
◆ MESH_BEEN_DSP
#define MESH_BEEN_DSP (1<<9) |
This flag is reserved for internal use.
◆ MESH_SMOOTH_SUBSEL
#define MESH_SMOOTH_SUBSEL (1<<10) |
Having this bit set to 1 indicates that the smooth faces with selection-color outlines should be displayed.
Having this reset to 0 means the transparent shaded faces should be displayed.
◆ MESH_FACENORMALSINVALID
#define MESH_FACENORMALSINVALID (1<<11) |
Mesh flag that Signals that face normals should be rebuilt.
◆ MESH_CACHEINVALID
#define MESH_CACHEINVALID (1<<12) |
Mesh, vertices and Face flag Signals that the they have changed and RVertices normals should be rebuilt.
◆ MESH_BACKFACESCOMPUTED
#define MESH_BACKFACESCOMPUTED (1<<16) |
Mesh flag to determine whether the back facing attribute on the face list has been computed or not.
◆ MESH_PARTIALCACHEINVALID
#define MESH_PARTIALCACHEINVALID (1<<17) |
Mesh flag that means that the mesh has only set some of the vertices as invalid and not to reprocess the entire mesh just the vertices that changed.