Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
More...
Detailed Description
Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
- Since:
- 3.0, DALi version 1.1.43
Constructor & Destructor Documentation
Default constructor, creates an empty handle.
- Since:
- 3.0, DALi version 1.1.43
Destructor.
- Since:
- 3.0, DALi version 1.1.43
Copy constructor, creates a new handle to the same object.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
The constructor.
- Note:
- Not intended for application developers.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] | pointer | A pointer to a newly allocated Renderer |
Member Function Documentation
Downcasts to a renderer handle. If not, a renderer the returned renderer handle is left uninitialized.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
- Returns:
- Renderer handle or an uninitialized handle
Reimplemented from Dali::Handle.
Gets the geometry used by this renderer.
- Since:
- 3.0, DALi version 1.1.43
- Returns:
- The geometry used by the renderer
Gets the shader used by this renderer.
- Since:
- 3.0, DALi version 1.1.43
- Returns:
- The shader used by the renderer
Gets the texture set used by this renderer.
- Since:
- 3.0, DALi version 1.1.43
- Returns:
- The texture set used by the renderer
Creates a new Renderer object.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] | geometry | Geometry to be used by this renderer |
[in] | shader | Shader to be used by this renderer |
- Returns:
- A handle to the Renderer
Assignment operator, changes this handle to point at the same object.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
- Returns:
- Reference to the assigned object
Sets the geometry to be used by this renderer.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] | geometry | The geometry to be used by this renderer |
Sets effective range of indices to draw from bound index buffer.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] | firstElement | The First element to draw |
[in] | elementsCount | The number of elements to draw |
Sets the shader used by this renderer.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] | shader | The shader to be used by this renderer |
Sets the texture set to be used by this renderer.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] | textureSet | The texture set to be used by this renderer |