SLProject 4.0.000
SLDrawBits.h File Reference
#include <SL.h>
Include dependency graph for SLDrawBits.h:
This graph shows which files directly or indirectly include this file:

Classes

class  SLDrawBits
 Drawing states stored in the bits of an unsigned int. More...
 

Macros

#define SL_DB_HIDDEN   1
 Flags an object as hidden. More...
 
#define SL_DB_NOTSELECTABLE   2
 Flags an object as selected. More...
 
#define SL_DB_MESHWIRED   4
 Draw polygons as wired mesh. More...
 
#define SL_DB_NORMALS   8
 Draw the vertex normals. More...
 
#define SL_DB_BBOX   16
 Draw the bounding boxes of a node. More...
 
#define SL_DB_AXIS   32
 Draw the coordinate axis of a node. More...
 
#define SL_DB_VOXELS   64
 Draw the voxels of the uniform grid. More...
 
#define SL_DB_SKELETON   128
 Draw the skeletons joints. More...
 
#define SL_DB_CULLOFF   256
 Turn off face culling. More...
 
#define SL_DB_OVERDRAW   512
 Draw node over all other nodes. More...
 
#define SL_DB_WITHEDGES   1024
 Draw faces with hard edges. More...
 
#define SL_DB_ONLYEDGES   2048
 Draw only hard edges. More...
 
#define SL_DB_BRECT   4096
 Draw the bounding rectangle of a node. More...
 

Macro Definition Documentation

◆ SL_DB_AXIS

#define SL_DB_AXIS   32

Draw the coordinate axis of a node.

◆ SL_DB_BBOX

#define SL_DB_BBOX   16

Draw the bounding boxes of a node.

◆ SL_DB_BRECT

#define SL_DB_BRECT   4096

Draw the bounding rectangle of a node.

◆ SL_DB_CULLOFF

#define SL_DB_CULLOFF   256

Turn off face culling.

◆ SL_DB_HIDDEN

#define SL_DB_HIDDEN   1

Flags an object as hidden.

Drawing Bits control some visual states of the scene and are applied per scene view or per single node object. Not all are used from the beginning

◆ SL_DB_MESHWIRED

#define SL_DB_MESHWIRED   4

Draw polygons as wired mesh.

◆ SL_DB_NORMALS

#define SL_DB_NORMALS   8

Draw the vertex normals.

◆ SL_DB_NOTSELECTABLE

#define SL_DB_NOTSELECTABLE   2

Flags an object as selected.

◆ SL_DB_ONLYEDGES

#define SL_DB_ONLYEDGES   2048

Draw only hard edges.

◆ SL_DB_OVERDRAW

#define SL_DB_OVERDRAW   512

Draw node over all other nodes.

◆ SL_DB_SKELETON

#define SL_DB_SKELETON   128

Draw the skeletons joints.

◆ SL_DB_VOXELS

#define SL_DB_VOXELS   64

Draw the voxels of the uniform grid.

◆ SL_DB_WITHEDGES

#define SL_DB_WITHEDGES   1024

Draw faces with hard edges.