|
SceneNodeSceneNodeDirtyFlags Enumeration |
SceneNodeDirtyFlags enum defines the flags that are used to mark which part of the SceneNode was changed (is dirty).
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax [FlagsAttribute]
public enum SceneNodeDirtyFlags
Members Member name | Value | Description |
---|
Unchanged | 0 |
Unchanged
|
ParentChanged | 1 |
ParentChanged
|
ChildAdded | 2 |
ChildAdded
|
ChildRemoved | 4 |
ChildRemoved
|
ChildMoved | 8 |
ChildMoved
|
ChildChanged | 16 |
ChildMoved
|
IsVisibleChanged | 32 |
IsVisibleChanged
|
TransformChanged | 64 |
Used when Transform on this SceneNode is changed.
|
ParentTransformChanged | 128 |
Used when Transformation on a parent SceneNode has changed.
|
WorldMatrixChanged | 256 |
Used when the WorldMatrix has changed. Usually the TransformChanged or ParentTransformChanged is set and then this calls the OnWorldMatrixChanged method that sets this flag.
|
BoundsChanged | 512 |
The Bounds property has changed (this means that the local bounds that defines the content transformed with local transformation has changed).
WorldBounds has changed when BoundsChanged or WorldMatrixChanged have changed.
|
ChildBoundsChanged | 1,024 |
Bounds of a child node was changed - the Bounds of this SceneNode need to be updated accordingly.
|
MaterialChanged | 2,048 |
MaterialChanged - recollected rendering primitives. When only simple material property is changed, use the MaterialPropertiesChanged.
|
MaterialPropertiesChanged | 4,096 |
MaterialPropertiesChanged is used to notify that only simple material properties are changed and the there is not need to recollect rendering primitives. To recollect rendering primitives use the MaterialChanged value.
|
MeshVertexBufferDataChanged | 8,192 |
Used when data in VertexBuffer has changed. This change does not require to recollect rendering primitives in RenderingQueues and therefore requires that the VertexBuffer on the used RenderingPrimitive is updated.
|
MeshIndexBufferDataChanged | 16,384 |
Used when data in IndexBuffer has changed or when StartIndexLocation or IndexCount has changed. This change does not require to recollect rendering primitives in RenderingQueues and therefore requires that the VertexBuffer on the used RenderingPrimitive is updated.
|
MeshChanged | 32,768 |
Used when the whole mesh needs to be recreated. This flag recollects the rendering primitives in RenderingQueues.
|
RenderingQueueChanged | 65,536 |
Used when the rendering queue has been changed
|
RenderingPrimitiveDirty | 131,072 |
RenderingPrimitive changed in such a way that rendering queues need to be recreated.
|
OtherChange | 262,144 |
OtherChange
|
SceneNodeCreated | 1,048,575 |
SceneNodeCreated
|
All | 16,777,215 |
Everything was changed
|
See Also