Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::SceneGraph::RendererWithSortAttributes Struct Reference

Structure to store information for sorting the renderers. More...

#include <prepare-render-instructions.h>

Collaboration diagram for Dali::Internal::SceneGraph::RendererWithSortAttributes:
Collaboration graph
[legend]

Public Member Functions

 RendererWithSortAttributes ()
 

Public Attributes

RenderItemrenderItem
 The render item that is being sorted (includes depth index) More...
 
const Shadershader
 The shader instance. More...
 
Integration::ResourceId textureResourceId
 The first texture resource ID of the sampler instance, is InvalidResourceId if the material doesn't have any samplers. More...
 
const RenderGeometrygeometry
 The geometry instance. More...
 
float zValue
 The zValue of the given renderer (either distance from camera, or a custom calculated value) More...
 

Detailed Description

Structure to store information for sorting the renderers.

(Note, depthIndex is stored within the renderItem).

Definition at line 43 of file prepare-render-instructions.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::RendererWithSortAttributes::RendererWithSortAttributes ( )
inline

Definition at line 45 of file prepare-render-instructions.h.

Member Data Documentation

const RenderGeometry* Dali::Internal::SceneGraph::RendererWithSortAttributes::geometry
RenderItem* Dali::Internal::SceneGraph::RendererWithSortAttributes::renderItem

The render item that is being sorted (includes depth index)

Definition at line 54 of file prepare-render-instructions.h.

Referenced by Dali::Internal::SceneGraph::CompareItems(), and Dali::Internal::SceneGraph::CompareItems3D().

const Shader* Dali::Internal::SceneGraph::RendererWithSortAttributes::shader
Integration::ResourceId Dali::Internal::SceneGraph::RendererWithSortAttributes::textureResourceId

The first texture resource ID of the sampler instance, is InvalidResourceId if the material doesn't have any samplers.

Definition at line 56 of file prepare-render-instructions.h.

Referenced by Dali::Internal::SceneGraph::CompareItems(), Dali::Internal::SceneGraph::CompareItems3D(), and Dali::Internal::Render::Renderer::SetSortAttributes().

float Dali::Internal::SceneGraph::RendererWithSortAttributes::zValue

The zValue of the given renderer (either distance from camera, or a custom calculated value)

Definition at line 58 of file prepare-render-instructions.h.

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


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