Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
Dali::Internal::SceneGraph::Layer Class Reference

Layers have a "depth" relative to all other layers in the scene-graph. More...

#include <scene-graph-layer.h>

Inheritance diagram for Dali::Internal::SceneGraph::Layer:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::SceneGraph::Layer:
Collaboration graph
[legend]

Public Types

typedef
Dali::Layer::SortFunctionType 
SortFunctionType
 

Public Member Functions

virtual ~Layer ()
 Virtual destructor. More...
 
virtual LayerGetLayer ()
 From Node, to convert a node to a layer. More...
 
void SetSortFunction (Dali::Layer::SortFunctionType function)
 Sets the sort-function of a layer. More...
 
Dali::Layer::SortFunctionType GetSortFunction () const
 Retrieve the function used to sort semi-transparent geometry in this layer. More...
 
void SetClipping (bool enabled)
 Sets whether clipping is enabled for a layer. More...
 
bool IsClipping () const
 Query whether clipping is enabled for a layer. More...
 
void SetClippingBox (const ClippingBox &box)
 Sets the clipping box of a layer, in window coordinates. More...
 
const ClippingBoxGetClippingBox () const
 Retrieves the clipping box of a layer, in window coordinates. More...
 
void SetBehavior (Dali::Layer::Behavior behavior)
 Sets the behavior of the layer. More...
 
Dali::Layer::Behavior GetBehavior () const
 Retrieves the behavior of the layer. More...
 
void SetDepthTestDisabled (bool disable)
 Whether to disable the depth test. More...
 
bool IsDepthTestDisabled () const
 Retrieves whether depth test is disabled. More...
 
void SetReuseRenderers (BufferIndex updateBufferIndex, bool value)
 Enables the reuse of the model view matrices of all renderers for this layer. More...
 
bool CanReuseRenderers (Node *camera)
 Checks if it is ok to reuse renderers. More...
 
bool UsesDefaultSortFunction ()
 
void ClearRenderables ()
 Clears all the renderable lists. More...
 
- Public Member Functions inherited from Dali::Internal::SceneGraph::Node
virtual ~Node ()
 Virtual destructor. More...
 
void operator delete (void *ptr)
 Overriden delete operator Deletes the node from its global memory pool. More...
 
void OnDestroy ()
 Called during UpdateManager::DestroyNode shortly before Node is destroyed. More...
 
bool IsLayer ()
 Query whether the node is a layer. More...
 
void Attach (NodeAttachment &attachment)
 Attach an object to this Node; This should only be done by UpdateManager::AttachToNode. More...
 
bool HasAttachment () const
 Query the node if it has an attachment. More...
 
void AddRenderer (Renderer *renderer)
 Add a renderer to the node. More...
 
void RemoveRenderer (Renderer *renderer)
 Remove a renderer from the node. More...
 
RendererGetRendererAt (unsigned int index)
 
unsigned int GetRendererCount ()
 Retrieve the number of renderers for the node. More...
 
NodeAttachmentGetAttachment () const
 Retreive the object attached to this node. More...
 
bool IsRoot () const
 Query whether a node is the root node. More...
 
void SetRoot (bool isRoot)
 Set whether a node is the root node. More...
 
NodeGetParent ()
 Retrieve the parent of a Node. More...
 
const NodeGetParent () const
 Retrieve the parent of a Node. More...
 
void ConnectChild (Node *childNode)
 Connect a node to the scene-graph. More...
 
void DisconnectChild (BufferIndex updateBufferIndex, Node &childNode)
 Disconnect a child (& its children) from the scene-graph. More...
 
const NodeContainerGetChildren () const
 Retrieve the children a Node. More...
 
NodeContainerGetChildren ()
 Retrieve the children a Node. More...
 
void SetDirtyFlag (NodePropertyFlags flag)
 Flag that one of the node values has changed in the current frame. More...
 
void SetAllDirtyFlags ()
 Flag that all of the node values are dirty. More...
 
int GetDirtyFlags () const
 Query whether a node is dirty. More...
 
bool IsClean () const
 Query whether a node is clean. More...
 
const Vector3GetParentOrigin () const
 Retrieve the parent-origin of the node. More...
 
void SetParentOrigin (const Vector3 &origin)
 Sets both the local & base parent-origins of the node. More...
 
const Vector3GetAnchorPoint () const
 Retrieve the anchor-point of the node. More...
 
void SetAnchorPoint (const Vector3 &anchor)
 Sets both the local & base anchor-points of the node. More...
 
const Vector3GetPosition (BufferIndex bufferIndex) const
 Retrieve the local position of the node, relative to its parent. More...
 
void BakePosition (BufferIndex updateBufferIndex, const Vector3 &position)
 Sets both the local & base positions of the node. More...
 
void SetWorldPosition (BufferIndex updateBufferIndex, const Vector3 &position)
 Sets the world of the node derived from the position of all its parents. More...
 
void InheritWorldPosition (BufferIndex updateBufferIndex)
 Sets the position of the node derived from the position of all its parents. More...
 
void CopyPreviousWorldPosition (BufferIndex updateBufferIndex)
 Copies the previous inherited position, if this changed in the previous frame. More...
 
const Vector3GetWorldPosition (BufferIndex bufferIndex) const
 Retrieve the position of the node derived from the position of all its parents. More...
 
void SetPositionInheritanceMode (PositionInheritanceMode mode)
 Set the position inheritance mode. More...
 
PositionInheritanceMode GetPositionInheritanceMode () const
 
const QuaternionGetOrientation (BufferIndex bufferIndex) const
 Retrieve the local orientation of the node, relative to its parent. More...
 
void BakeOrientation (BufferIndex updateBufferIndex, const Quaternion &orientation)
 Sets both the local & base orientations of the node. More...
 
void SetWorldOrientation (BufferIndex updateBufferIndex, const Quaternion &orientation)
 Sets the orientation of the node derived from the rotation of all its parents. More...
 
void InheritWorldOrientation (BufferIndex updateBufferIndex)
 Sets the orientation of the node derived from the rotation of all its parents. More...
 
void CopyPreviousWorldOrientation (BufferIndex updateBufferIndex)
 Copies the previous inherited orientation, if this changed in the previous frame. More...
 
const QuaternionGetWorldOrientation (BufferIndex bufferIndex) const
 Retrieve the orientation of the node derived from the rotation of all its parents. More...
 
void SetInheritOrientation (bool inherit)
 Set whether the Node inherits orientation. More...
 
bool IsOrientationInherited () const
 Query whether the node inherits orientation from its parent. More...
 
const Vector3GetScale (BufferIndex bufferIndex) const
 Retrieve the local scale of the node, relative to its parent. More...
 
void SetWorldScale (BufferIndex updateBufferIndex, const Vector3 &scale)
 Sets the scale of the node derived from the scale of all its parents and a pre-scale. More...
 
void InheritWorldScale (BufferIndex updateBufferIndex)
 Sets the scale of the node derived from the scale of all its parents and a pre-scale. More...
 
void CopyPreviousWorldScale (BufferIndex updateBufferIndex)
 Copies the previous inherited scale, if this changed in the previous frame. More...
 
const Vector3GetWorldScale (BufferIndex bufferIndex) const
 Retrieve the scale of the node derived from the scale of all its parents. More...
 
void SetInheritScale (bool inherit)
 Set whether the Node inherits scale. More...
 
bool IsScaleInherited () const
 Query whether the Node inherits scale. More...
 
bool IsVisible (BufferIndex bufferIndex) const
 Retrieve the visibility of the node. More...
 
float GetOpacity (BufferIndex bufferIndex) const
 Retrieve the opacity of the node. More...
 
const Vector4GetColor (BufferIndex bufferIndex) const
 Retrieve the color of the node. More...
 
void SetWorldColor (const Vector4 &color, BufferIndex updateBufferIndex)
 Sets the color of the node derived from the color of all its parents. More...
 
void InheritWorldColor (BufferIndex updateBufferIndex)
 Sets the color of the node derived from the color of all its parents. More...
 
void CopyPreviousWorldColor (BufferIndex updateBufferIndex)
 Copies the previous inherited scale, if this changed in the previous frame. More...
 
const Vector4GetWorldColor (BufferIndex bufferIndex) const
 Retrieve the color of the node, possibly derived from the color of all its parents, depending on the value of mColorMode. More...
 
void SetColorMode (ColorMode colorMode)
 Set the color mode. More...
 
ColorMode GetColorMode () const
 Retrieve the color mode. More...
 
const Vector3GetSize (BufferIndex bufferIndex) const
 Retrieve the size of the node. More...
 
void SetWorldMatrix (BufferIndex updateBufferIndex, const Vector3 &scale, const Quaternion &rotation, const Vector3 &translation)
 Set the world-matrix of a node, with scale + rotation + translation. More...
 
const MatrixGetWorldMatrix (BufferIndex bufferIndex) const
 Retrieve the cached world-matrix of a node. More...
 
void CopyPreviousWorldMatrix (BufferIndex updateBufferIndex)
 Copy previous frames world matrix. More...
 
void SetExclusiveRenderTask (RenderTask *renderTask)
 Mark the node as exclusive to a single RenderTask. More...
 
RenderTaskGetExclusiveRenderTask () const
 Query whether the node is exclusive to a single RenderTask. More...
 
void SetDrawMode (const DrawMode::Type &drawMode)
 Set how the Node and its children should be drawn; see Dali::Actor::SetDrawMode() for more details. More...
 
DrawMode::Type GetDrawMode () const
 Returns whether node is an overlay or not. More...
 
bool operator== (const Node *rhs) const
 Equality operator, checks for identity, not values. More...
 
unsigned short GetDepth () const
 
void AddUniformMapping (UniformPropertyMapping *map)
 Add a map to the mappings table. More...
 
void RemoveUniformMapping (const std::string &uniformName)
 Remove a map from the mappings table. More...
 
void PrepareRender (BufferIndex bufferIndex)
 Prepare the node for rendering. More...
 
virtual bool GetUniformMapChanged (BufferIndex bufferIndex) const
 Return true if the uniform map has been changed this frame Note, this only informs if the uniform mappings have changed, not if any actual property value has changed. More...
 
virtual const CollectedUniformMapGetUniformMap (BufferIndex bufferIndex) const
 Get the complete map of uniforms to property value addresses (The map is double buffered - it can be retrieved through this interface) More...
 
- Public Member Functions inherited from Dali::Internal::SceneGraph::PropertyOwner
virtual ~PropertyOwner ()
 Virtual destructor; this is intended as a base class. More...
 
void AddObserver (Observer &observer)
 Add an observer. More...
 
void RemoveObserver (Observer &observer)
 Remove an observer. More...
 
bool IsObserved ()
 This method can be used to determine if there is an animation or constraint that is using this property owner. More...
 
void Destroy ()
 Called just before destruction to disconnect all observers and remove constraints. More...
 
void ConnectToSceneGraph ()
 Notify all observers that the object has been connected This occurs when the object is connected to the scene-graph during UpdateManager::Update(). More...
 
void DisconnectFromSceneGraph (BufferIndex updateBufferIndex)
 Notify all observers that the object has been disconnected and remove constraints. More...
 
void InstallCustomProperty (PropertyBase *property)
 Install a custom property. More...
 
OwnedPropertyContainerGetCustomProperties ()
 Retrieve the custom properties owned by the object. More...
 
const OwnedPropertyContainerGetCustomProperties () const
 Retrieve the custom properties owned by the object. More...
 
void ResetToBaseValues (BufferIndex updateBufferIndex)
 Reset animatable properties to the corresponding base values. More...
 
void ApplyConstraint (ConstraintBase *constraint)
 Apply a constraint. More...
 
void RemoveConstraint (ConstraintBase *constraint)
 Begin removal of constraints. More...
 
ConstraintOwnerContainerGetConstraints ()
 Retrieve the constraints that are currently applied. More...
 
const UniformMapGetUniformMap () const
 Get the mappings table. More...
 
void AddUniformMapObserver (UniformMap::Observer &observer)
  More...
 
void RemoveUniformMapObserver (UniformMap::Observer &observer)
  More...
 
- Public Member Functions inherited from Dali::Internal::SceneGraph::NodeDataProvider
 NodeDataProvider ()
 Constructor. More...
 

Static Public Member Functions

static SceneGraph::LayerNew ()
 Construct a new Layer. More...
 
- Static Public Member Functions inherited from Dali::Internal::SceneGraph::Node
static NodeNew ()
 Construct a new Node. More...
 
- Static Public Member Functions inherited from Dali::Internal::SceneGraph::PropertyOwner
static PropertyOwnerNew ()
 Create a property owner. More...
 

Public Attributes

RenderableContainer stencilRenderables
 
RenderableContainer colorRenderables
 
RenderableContainer overlayRenderables
 
- Public Attributes inherited from Dali::Internal::SceneGraph::Node
PropertyVector3 mParentOrigin
 Local transform; the position is relative to this. Sets the TransformFlag dirty when changed. More...
 
PropertyVector3 mAnchorPoint
 Local transform; local center of rotation. Sets the TransformFlag dirty when changed. More...
 
AnimatableProperty< Vector3mSize
 Size is provided for layouting. More...
 
AnimatableProperty< Vector3mPosition
 Local transform; distance between parent-origin & anchor-point. More...
 
AnimatableProperty< QuaternionmOrientation
 Local transform; rotation relative to parent node. More...
 
AnimatableProperty< Vector3mScale
 Local transform; scale relative to parent node. More...
 
AnimatableProperty< bool > mVisible
 Visibility can be inherited from the Node hierachy. More...
 
AnimatableProperty< Vector4mColor
 Color can be inherited from the Node hierarchy. More...
 
InheritedVector3 mWorldPosition
 Full inherited position. More...
 
InheritedQuaternion mWorldOrientation
 Full inherited orientation. More...
 
InheritedVector3 mWorldScale
 Full inherited scale. More...
 
InheritedMatrix mWorldMatrix
 Full inherited world matrix. More...
 
InheritedColor mWorldColor
 Full inherited color. More...
 

Private Member Functions

 Layer ()
 Private constructor. More...
 
 Layer (const Layer &)
 
Layeroperator= (const Layer &rhs)
 

Private Attributes

SortFunctionType mSortFunction
 Used to sort semi-transparent geometry. More...
 
ClippingBox mClippingBox
 The clipping box, in window coordinates. More...
 
NodemLastCamera
 Pointer to the last camera that has rendered the layer. More...
 
Dali::Layer::Behavior mBehavior
 The behavior of the layer. More...
 
bool mAllChildTransformsClean [2]
 True if all child nodes transforms are clean, double buffered as we need two clean frames before we can reuse N-1 for N+1 this allows us to cache render items when layer is "static". More...
 
bool mIsClipping:1
 True when clipping is enabled. More...
 
bool mDepthTestDisabled:1
 Whether depth test is disabled. More...
 
bool mIsDefaultSortFunction:1
 whether the default depth sort function is used More...
 

Additional Inherited Members

- Static Public Attributes inherited from Dali::Internal::SceneGraph::Node
static const
PositionInheritanceMode 
DEFAULT_POSITION_INHERITANCE_MODE
 
static const ColorMode DEFAULT_COLOR_MODE
 
- Protected Member Functions inherited from Dali::Internal::SceneGraph::Node
void SetParent (Node &parentNode)
 Set the parent of a Node. More...
 
 Node ()
 Protected constructor; See also Node::New() More...
 
- Protected Attributes inherited from Dali::Internal::SceneGraph::Node
NodemParent
 Pointer to parent node (a child is owned by its parent) More...
 
RenderTaskmExclusiveRenderTask
 Nodes can be marked as exclusive to a single RenderTask. More...
 
NodeAttachmentOwner mAttachment
 Optional owned attachment. More...
 
RendererContainer mRenderer
 Container of renderers; not owned. More...
 
NodeContainer mChildren
 Container of children; not owned. More...
 
CollectedUniformMap mCollectedUniformMap [2]
 Uniform maps of the node. More...
 
unsigned int mUniformMapChanged [2]
 Records if the uniform map has been altered this frame. More...
 
unsigned int mRegenerateUniformMap: 2
 Indicate if the uniform map has to be regenerated this frame. More...
 
unsigned short mDepth: 12
 Depth in the hierarchy. More...
 
int mDirtyFlags:8
 A composite set of flags for each of the Node properties. More...
 
bool mIsRoot:1
 True if the node cannot have a parent. More...
 
bool mInheritOrientation:1
 Whether the parent's orientation should be inherited. More...
 
bool mInheritScale:1
 Whether the parent's scale should be inherited. More...
 
DrawMode::Type mDrawMode:2
 How the Node and its children should be drawn. More...
 
PositionInheritanceMode mPositionInheritanceMode:2
 Determines how position is inherited, 2 bits is enough. More...
 
ColorMode mColorMode:2
 Determines whether mWorldColor is inherited, 2 bits is enough. More...
 
 DALI_LOG_OBJECT_STRING_DECLARATION
 

Detailed Description

Layers have a "depth" relative to all other layers in the scene-graph.

Non-layer child nodes (and their attachments) are considered part of the layer.

Layers are rendered separately, and the depth buffer is cleared before each layer is rendered. Objects in higher layers, are rendered after (in front of) objects in lower layers.

Definition at line 69 of file scene-graph-layer.h.

Member Typedef Documentation

typedef Dali::Layer::SortFunctionType Dali::Internal::SceneGraph::Layer::SortFunctionType

Definition at line 73 of file scene-graph-layer.h.

Constructor & Destructor Documentation

Layer::~Layer ( )
virtual

Virtual destructor.

Definition at line 53 of file scene-graph-layer.cpp.

Layer::Layer ( )
private

Private constructor.

See also Layer::New()

Definition at line 39 of file scene-graph-layer.cpp.

References mAllChildTransformsClean.

Referenced by New().

Here is the caller graph for this function:

Dali::Internal::SceneGraph::Layer::Layer ( const Layer )
private

Member Function Documentation

bool Dali::Internal::SceneGraph::Layer::CanReuseRenderers ( Node camera)
inline

Checks if it is ok to reuse renderers.

Renderers can be reused if ModelView transform for all the renderers has not changed from previous use.

Parameters
[in]cameraA pointer to the camera that we want to use to render the list.
Returns
True if all children transforms have been clean for two consecutive frames and the camera we are going to use is the same than the one used before ( Otherwise View transform will be different )

Definition at line 187 of file scene-graph-layer.h.

References mAllChildTransformsClean, and mLastCamera.

Referenced by Dali::Internal::SceneGraph::PrepareRenderInstruction().

Here is the caller graph for this function:

void Layer::ClearRenderables ( )

Clears all the renderable lists.

Definition at line 103 of file scene-graph-layer.cpp.

References Dali::Vector< T, IsTrivialType >::Clear(), colorRenderables, overlayRenderables, and stencilRenderables.

Here is the call graph for this function:

Dali::Layer::Behavior Dali::Internal::SceneGraph::Layer::GetBehavior ( ) const
inline

Retrieves the behavior of the layer.

Returns
The behavior

Definition at line 154 of file scene-graph-layer.h.

References mBehavior.

Referenced by Dali::Internal::SceneGraph::AddColorRenderers(), Dali::Internal::SceneGraph::AddOverlayRenderers(), Dali::Internal::SceneGraph::AddStencilRenderers(), and Dali::Internal::SceneGraph::SortRenderItems().

Here is the caller graph for this function:

const ClippingBox& Dali::Internal::SceneGraph::Layer::GetClippingBox ( ) const
inline

Retrieves the clipping box of a layer, in window coordinates.

Returns
The clipping box

Definition at line 139 of file scene-graph-layer.h.

References mClippingBox.

Referenced by Dali::Internal::SceneGraph::AddColorRenderers(), Dali::Internal::SceneGraph::AddOverlayRenderers(), and Dali::Internal::SceneGraph::AddStencilRenderers().

Here is the caller graph for this function:

virtual Layer* Dali::Internal::SceneGraph::Layer::GetLayer ( )
inlinevirtual

From Node, to convert a node to a layer.

Returns
The layer.

Reimplemented from Dali::Internal::SceneGraph::Node.

Definition at line 92 of file scene-graph-layer.h.

Dali::Layer::SortFunctionType Dali::Internal::SceneGraph::Layer::GetSortFunction ( ) const
inline

Retrieve the function used to sort semi-transparent geometry in this layer.

Returns
The sort function.

Definition at line 107 of file scene-graph-layer.h.

References mSortFunction.

Referenced by Dali::Internal::SceneGraph::SortRenderItems().

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Layer::IsClipping ( ) const
inline

Query whether clipping is enabled for a layer.

Returns
True if clipping is enabled.

Definition at line 122 of file scene-graph-layer.h.

References mIsClipping.

Referenced by Dali::Internal::SceneGraph::AddColorRenderers(), Dali::Internal::SceneGraph::AddOverlayRenderers(), and Dali::Internal::SceneGraph::AddStencilRenderers().

Here is the caller graph for this function:

bool Layer::IsDepthTestDisabled ( ) const

Retrieves whether depth test is disabled.

.0

Returns
True if depth test is disabled.

Definition at line 98 of file scene-graph-layer.cpp.

References Dali::Layer::LAYER_2D, mBehavior, and mDepthTestDisabled.

Referenced by Dali::Internal::SceneGraph::AddColorRenderers().

Here is the caller graph for this function:

SceneGraph::Layer * Layer::New ( )
static

Construct a new Layer.

Returns
A smart-pointer to a newly allocated Node

Definition at line 34 of file scene-graph-layer.cpp.

References Layer().

Referenced by Dali::Internal::Layer::CreateNode().

Here is the call graph for this function:

Here is the caller graph for this function:

Layer& Dali::Internal::SceneGraph::Layer::operator= ( const Layer rhs)
private
void Layer::SetBehavior ( Dali::Layer::Behavior  behavior)

Sets the behavior of the layer.

Parameters
[in]behaviorThe behavior of the layer

Definition at line 88 of file scene-graph-layer.cpp.

References mBehavior.

Referenced by Dali::Internal::SceneGraph::SetBehaviorMessage().

Here is the caller graph for this function:

void Layer::SetClipping ( bool  enabled)

Sets whether clipping is enabled for a layer.

Parameters
[in]enabledTrue if clipping is enabled.

Definition at line 78 of file scene-graph-layer.cpp.

References mIsClipping.

Referenced by Dali::Internal::SceneGraph::SetClippingMessage().

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::Layer::SetClippingBox ( const ClippingBox box)

Sets the clipping box of a layer, in window coordinates.

The contents of the layer will not be visible outside this box, when clipping is enabled. The default clipping box is empty (0,0,0,0).

Parameters
[in]boxThe clipping box

Referenced by Dali::Internal::SceneGraph::SetClippingBoxMessage().

Here is the caller graph for this function:

void Layer::SetDepthTestDisabled ( bool  disable)

Whether to disable the depth test.

By default a layer enables depth test if there is more than one opaque actor or if there is one opaque actor and one, or more, transparent actors in LAYER_3D mode. However, it's possible to disable the depth test by calling this method.

.0

Parameters
[in]disableTrue disables depth test. false sets the default behavior.

Definition at line 93 of file scene-graph-layer.cpp.

References mDepthTestDisabled.

Referenced by Dali::Internal::SceneGraph::SetDepthTestDisabledMessage().

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::Layer::SetReuseRenderers ( BufferIndex  updateBufferIndex,
bool  value 
)
inline

Enables the reuse of the model view matrices of all renderers for this layer.

Parameters
[in]updateBufferIndexThe current update buffer index.
valueto set

Definition at line 174 of file scene-graph-layer.h.

References mAllChildTransformsClean.

Referenced by Dali::Internal::SceneGraph::UpdateNodesAndAttachments().

Here is the caller graph for this function:

void Layer::SetSortFunction ( Dali::Layer::SortFunctionType  function)

Sets the sort-function of a layer.

Parameters
[in]functionThe new sort-function.

Definition at line 57 of file scene-graph-layer.cpp.

References mAllChildTransformsClean, mIsDefaultSortFunction, mSortFunction, and Dali::Internal::Layer::ZValue().

Referenced by Dali::Internal::SceneGraph::SetSortFunctionMessage().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Layer::UsesDefaultSortFunction ( )
inline
Returns
True if default sort function is used

Definition at line 198 of file scene-graph-layer.h.

References mIsDefaultSortFunction.

Referenced by Dali::Internal::SceneGraph::SortRenderItems().

Here is the caller graph for this function:

Member Data Documentation

RenderableContainer Dali::Internal::SceneGraph::Layer::colorRenderables
bool Dali::Internal::SceneGraph::Layer::mAllChildTransformsClean[2]
private

True if all child nodes transforms are clean, double buffered as we need two clean frames before we can reuse N-1 for N+1 this allows us to cache render items when layer is "static".

Definition at line 237 of file scene-graph-layer.h.

Referenced by CanReuseRenderers(), Layer(), SetReuseRenderers(), and SetSortFunction().

Dali::Layer::Behavior Dali::Internal::SceneGraph::Layer::mBehavior
private

The behavior of the layer.

Definition at line 235 of file scene-graph-layer.h.

Referenced by GetBehavior(), IsDepthTestDisabled(), and SetBehavior().

ClippingBox Dali::Internal::SceneGraph::Layer::mClippingBox
private

The clipping box, in window coordinates.

Definition at line 232 of file scene-graph-layer.h.

Referenced by GetClippingBox().

bool Dali::Internal::SceneGraph::Layer::mDepthTestDisabled
private

Whether depth test is disabled.

Definition at line 241 of file scene-graph-layer.h.

Referenced by IsDepthTestDisabled(), and SetDepthTestDisabled().

bool Dali::Internal::SceneGraph::Layer::mIsClipping
private

True when clipping is enabled.

Definition at line 240 of file scene-graph-layer.h.

Referenced by IsClipping(), and SetClipping().

bool Dali::Internal::SceneGraph::Layer::mIsDefaultSortFunction
private

whether the default depth sort function is used

Definition at line 242 of file scene-graph-layer.h.

Referenced by SetSortFunction(), and UsesDefaultSortFunction().

Node* Dali::Internal::SceneGraph::Layer::mLastCamera
private

Pointer to the last camera that has rendered the layer.

Definition at line 233 of file scene-graph-layer.h.

Referenced by CanReuseRenderers().

SortFunctionType Dali::Internal::SceneGraph::Layer::mSortFunction
private

Used to sort semi-transparent geometry.

Definition at line 230 of file scene-graph-layer.h.

Referenced by GetSortFunction(), and SetSortFunction().

RenderableContainer Dali::Internal::SceneGraph::Layer::overlayRenderables
RenderableContainer Dali::Internal::SceneGraph::Layer::stencilRenderables

The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali