Developer Documentation
Default update types

Variables

const UpdateType UPDATE_NONE (UpdateTypeSet(0))
 Empty update for empty initialization of update type.
 
const UpdateType UPDATE_ALL (UpdateTypeSet(1))
 Identifier for all updates.
 
const UpdateType UPDATE_VISIBILITY (UpdateTypeSet(2))
 This is the update identifier for global Object visibility ( show/hide )
 
const UpdateType UPDATE_GEOMETRY (UpdateTypeSet(4))
 Geometry updated. More...
 
const UpdateType UPDATE_TOPOLOGY (UpdateTypeSet(8))
 Topology updated. More...
 
const UpdateType UPDATE_SELECTION (UpdateTypeSet(16))
 Selection updated. More...
 
const UpdateType UPDATE_SELECTION_VERTICES (UpdateTypeSet(32))
 Vertex selection has changed. More...
 
const UpdateType UPDATE_SELECTION_EDGES (UpdateTypeSet(64))
 Edge selection has changed. More...
 
const UpdateType UPDATE_SELECTION_HALFEDGES (UpdateTypeSet(128))
 Halfedge selection has changed. More...
 
const UpdateType UPDATE_SELECTION_FACES (UpdateTypeSet(256))
 Face selection has changed. More...
 
const UpdateType UPDATE_SELECTION_KNOTS (UpdateTypeSet(512))
 Knot selection has changed. More...
 
const UpdateType UPDATE_COLOR (UpdateTypeSet(1024))
 Colors have changed. More...
 
const UpdateType UPDATE_TEXTURE (UpdateTypeSet(2048))
 Textures have changed. More...
 
const UpdateType UPDATE_STATE (UpdateTypeSet(4096))
 State has changed. More...
 
const UpdateType UPDATE_UNUSED (UpdateTypeSet(8192))
 marks the last used ID
 

Detailed Description

The following update types are predefined for the general use cases

Variable Documentation

◆ UPDATE_COLOR

const UpdateType UPDATE_COLOR(UpdateTypeSet(1024))

Colors have changed.

Update the colors. This does not have to be called when topology is also updated

◆ UPDATE_GEOMETRY

const UpdateType UPDATE_GEOMETRY(UpdateTypeSet(4))

Geometry updated.

Updated Geometry ( This update type has to be used if you only modify vertex positions of an object. Everything else has to stay as before the update.

◆ UPDATE_SELECTION

const UpdateType UPDATE_SELECTION(UpdateTypeSet(16))

Selection updated.

Updated Selection ( This update type has to be used if you modify the internal selection of an object. Like selecting a single vertex or a set of faces. ).

◆ UPDATE_SELECTION_EDGES

const UpdateType UPDATE_SELECTION_EDGES(UpdateTypeSet(64))

Edge selection has changed.

This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.

◆ UPDATE_SELECTION_FACES

const UpdateType UPDATE_SELECTION_FACES(UpdateTypeSet(256))

Face selection has changed.

This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.

◆ UPDATE_SELECTION_HALFEDGES

const UpdateType UPDATE_SELECTION_HALFEDGES(UpdateTypeSet(128))

Halfedge selection has changed.

This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.

◆ UPDATE_SELECTION_KNOTS

const UpdateType UPDATE_SELECTION_KNOTS(UpdateTypeSet(512))

Knot selection has changed.

This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.

◆ UPDATE_SELECTION_VERTICES

const UpdateType UPDATE_SELECTION_VERTICES(UpdateTypeSet(32))

Vertex selection has changed.

This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.

◆ UPDATE_STATE

const UpdateType UPDATE_STATE(UpdateTypeSet(4096))

State has changed.

The object's state (target, source) has changed

◆ UPDATE_TEXTURE

const UpdateType UPDATE_TEXTURE(UpdateTypeSet(2048))

Textures have changed.

Update the Textures.

◆ UPDATE_TOPOLOGY

const UpdateType UPDATE_TOPOLOGY(UpdateTypeSet(8))

Topology updated.

Updated Topology ( This update type has to be used if you modify the topology of an object. This includes adding vertices or removing them! )