SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SLDrawBits.h File Reference
#include <SL.h>
Include dependency graph for SLDrawBits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of 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...
 
#define SL_DB_GPU_SKINNING   8192
 Perform skinning on the GPU. More...
 

Macro Definition Documentation

◆ SL_DB_AXIS

#define SL_DB_AXIS   32

Draw the coordinate axis of a node.

Definition at line 25 of file SLDrawBits.h.

◆ SL_DB_BBOX

#define SL_DB_BBOX   16

Draw the bounding boxes of a node.

Definition at line 24 of file SLDrawBits.h.

◆ SL_DB_BRECT

#define SL_DB_BRECT   4096

Draw the bounding rectangle of a node.

Definition at line 32 of file SLDrawBits.h.

◆ SL_DB_CULLOFF

#define SL_DB_CULLOFF   256

Turn off face culling.

Definition at line 28 of file SLDrawBits.h.

◆ SL_DB_GPU_SKINNING

#define SL_DB_GPU_SKINNING   8192

Perform skinning on the GPU.

Definition at line 33 of file SLDrawBits.h.

◆ 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

Definition at line 20 of file SLDrawBits.h.

◆ SL_DB_MESHWIRED

#define SL_DB_MESHWIRED   4

Draw polygons as wired mesh.

Definition at line 22 of file SLDrawBits.h.

◆ SL_DB_NORMALS

#define SL_DB_NORMALS   8

Draw the vertex normals.

Definition at line 23 of file SLDrawBits.h.

◆ SL_DB_NOTSELECTABLE

#define SL_DB_NOTSELECTABLE   2

Flags an object as selected.

Definition at line 21 of file SLDrawBits.h.

◆ SL_DB_ONLYEDGES

#define SL_DB_ONLYEDGES   2048

Draw only hard edges.

Definition at line 31 of file SLDrawBits.h.

◆ SL_DB_OVERDRAW

#define SL_DB_OVERDRAW   512

Draw node over all other nodes.

Definition at line 29 of file SLDrawBits.h.

◆ SL_DB_SKELETON

#define SL_DB_SKELETON   128

Draw the skeletons joints.

Definition at line 27 of file SLDrawBits.h.

◆ SL_DB_VOXELS

#define SL_DB_VOXELS   64

Draw the voxels of the uniform grid.

Definition at line 26 of file SLDrawBits.h.

◆ SL_DB_WITHEDGES

#define SL_DB_WITHEDGES   1024

Draw faces with hard edges.

Definition at line 30 of file SLDrawBits.h.