Defines

Mesh, Vertex and Face Flags

The following represent flags describing various flags that can be set on the mesh, vertices and faces. More...

Defines

#define  MESH_EDGE_LIST   (1<<1)
#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)
#define  MESH_SMOOTH_SUBSEL   (1<<10)
  Having this bit set to 1 indicates that the smooth faces with selection-color outlines 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.

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


Define Documentation

#define MESH_EDGE_LIST   (1<<1)
Deprecated:
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)

Mesh? flag that marks the mesh as has been drawn I think

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