Mesh, Vertex and Face Flags

Mesh, Vertex and Face Flags

Module description

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.

Macros

#define MESH_EDGE_LIST   (1<<1)
 Edge list. More...
 
#define MESH_LOCK_RENDDATA   (1<<2)
 Setting this flag prevents render data from being deleted (except when the mesh is deleted). More...
 
#define MESH_SMOOTH_BIT1   (1<<3)
 
#define MESH_SMOOTH_BIT2   (1<<4)
 
#define MESH_SMOOTH_BIT3   (1<<5)
 
#define MESH_SMOOTH_BIT4   (1<<6)
 
#define MESH_SMOOTH_MASK   0x78
 Flag mask for SMOOTH_BIT's 1 thru 4. More...
 
#define MESH_BEEN_DSP   (1<<9)
 This flag is reserved for internal use. More...
 
#define MESH_SMOOTH_SUBSEL   (1<<10)
 Having this bit set to 1 indicates that the smooth faces with selection-color outlines should be displayed. More...
 
#define MESH_FACENORMALSINVALID   (1<<11)
 Mesh flag that Signals that face normals should be rebuilt. More...
 
#define MESH_CACHEINVALID   (1<<12)
 Mesh, vertices and Face flag Signals that the they have changed and RVertices normals should be rebuilt. More...
 
#define MESH_BACKFACESCOMPUTED   (1<<16)
 Mesh flag to determine whether the back facing attribute on the face list has been computed or not. More...
 
#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. More...
 

Macro Definition Documentation

#define MESH_EDGE_LIST   (1<<1)

Edge list.

This flag is obsolete.

#define MESH_LOCK_RENDDATA   (1<<2)

Setting this flag prevents render data from being deleted (except when the mesh is deleted).

#define MESH_SMOOTH_BIT1   (1<<3)
#define MESH_SMOOTH_BIT2   (1<<4)
#define MESH_SMOOTH_BIT3   (1<<5)
#define MESH_SMOOTH_BIT4   (1<<6)
#define MESH_SMOOTH_MASK   0x78

Flag mask for SMOOTH_BIT's 1 thru 4.

#define MESH_BEEN_DSP   (1<<9)

This flag is reserved for internal use.

#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.

#define MESH_FACENORMALSINVALID   (1<<11)

Mesh flag that Signals that face normals should be rebuilt.

#define MESH_CACHEINVALID   (1<<12)

Mesh, vertices and Face flag Signals that the they have changed and RVertices normals should be rebuilt.

#define MESH_BACKFACESCOMPUTED   (1<<16)

Mesh flag to determine whether the back facing attribute on the face list has been computed or not.

#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.