|
SceneDirtyFlags Enumeration |
SceneDirtyFlags enum defines flags that describe what changes have occur in the
Scene from last time the scene was rendered.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax [FlagsAttribute]
public enum SceneDirtyFlags
Members Member name | Value | Description |
---|
None | 0 |
None
|
MaterialBufferChanged | 1 |
MaterialBufferChanged is used for simple material changes where only material buffer is updated. This does not require updating SceneNode, rendering layer regeneration and new recording of command buffers.
|
MaterialChanged | 2 |
MaterialChanged is used for material changes that require new recording of the command buffers. For example, this is used when LineThickness is changed and lines are not rendered by geometry shader.
|
MaterialComplexChange | 4 |
MaterialComplexChange is used when the material change requires regeneration of rendering layers and a new recording of the command buffers. For example, this is used when HasTransparency or VertexColorMaterial's buffer is changed.
|
MaterialIndexChanged | 8 |
MaterialIndex is used when the RenderingItem.MaterialIndex is changed. This requires new recording of the command buffers.
|
EffectsChanged | 16 |
EffectsChanged is used when Effect property is changed on the Material object. This requires regeneration of rendering layers and a new recording of the command buffers.
|
SceneNodesWorldMatrixChanged | 32 |
SceneNodesWorldMatrixChanged is used when SceneNode's WorldMatrix is changed. This does not require any rendering layers regeneration or new recording of command buffers.
|
SceneNodesMatrixIndexChanged | 64 |
MatrixIndex is used when RenderingItem.MatrixIndex is changed. This requires new recording of the command buffers.
|
MeshDataChanged | 128 |
MeshChanged is used when the data in the vertex or index buffer are changed. This does not require rendering layers regeneration, but requires new recording of command buffers.
|
MeshChanged | 256 |
MeshChanged is used when the vertex or index buffer are changed. This requires new recording of the command buffers.
|
SceneNodesVisibilityChanged | 512 |
SceneNodesVisibilityChanged is used when the visibility of a SceneNode is changed. This requires new recording of the command buffers.
|
SceneNodesCountChanged | 1,024 |
SceneNodesCountChanged is used when new SceneNodes are added to the scene or existing Scene nodes are removed from the scene.
|
OtherSceneNodesPropertiesChanged | 2,048 |
OtherSceneNodesPropertiesChanged is used when other SceneNode properties are changed. This requires regeneration of rendering layers and a new recording of the command buffers.
|
SceneBoundingBoxChanged | 4,096 |
SceneBoundingBoxChanged is used when scene bounding box is changed.
|
LightPropertiesChanged | 8,192 |
LightPropertiesChanged is used when properties of lights are changed.
|
LightsCountChanged | 16,384 |
LightsCountChanged is used when number of lights is changed.
|
RenderingLayerSorted | 32,768 |
RenderingLayerSorted is used when the order of RenderingItems in a sorted RenderingLayer is changed.
|
RenderingLayersRecreated | 65,536 |
RenderingLayersRecreated is used when all the RenderingLayers are created again.
|
SpritesChanged | 131,072 |
SpritesChanged is used to indicate that sprites have been changed.
|
MeshDisposed | 262,144 |
MeshDisposed is used to indicate that a mesh or any of its buffers was disposed by a user. This will check if all assigned meshes are still valid.
|
CoordinateSystemChanged | 524,288 |
CoordinateSystemChanged is used to indicate that the Scene's coordinate system has changed.
|
MaterialDisposed | 1,048,576 |
MaterialDisposed is used to indicate that a material or any of its buffers or images was disposed by a user. This will check if all assigned materials are still valid.
|
All | 2,097,151 |
All
|
OtherChange | 2,097,152 |
OtherChange
|
See Also