| Tizen Native API
    5.0
    | 
Dali::Shader Class Reference
  Shaders allows custom vertex and color transformations in the GPU. More...
Inheritance diagram for Dali::Shader:
 
  
 | Classes | |
| struct | Hint | 
| Hints for rendering.  More... | |
| struct | Property | 
| Enumeration for instances of properties belonging to the Shader class.  More... | |
| Public Member Functions | |
| Shader () | |
| Default constructor, creates an empty handle. | |
| ~Shader () | |
| Destructor. This is non-virtual since derived Handle types must not contain data or virtual methods. | |
| Shader (const Shader &handle) | |
| Copy constructor. | |
| Shader & | operator= (const Shader &handle) | 
| Assignment operator, changes this handle to point at the same object. | |
| Shader (Internal::Shader *effect) | |
| This constructor is used by Dali New() methods. | |
| Static Public Member Functions | |
| static Shader | New (const std::string &vertexShader, const std::string &fragmentShader, Hint::Value hints=Hint::NONE) | 
| Creates Shader. | |
| static Shader | DownCast (BaseHandle handle) | 
| Downcasts to a shader handle. If not, a shader the returned shader handle is left uninitialized. | |
Detailed Description
Shaders allows custom vertex and color transformations in the GPU.
- 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. This is non-virtual since derived Handle types must not contain data or virtual methods.
- Since:
- 3.0, DALi version 1.1.43
| Dali::Shader::Shader | ( | const Shader & | handle | ) | 
| Dali::Shader::Shader | ( | Internal::Shader * | effect | ) |  [explicit] | 
Member Function Documentation
| static Shader Dali::Shader::DownCast | ( | BaseHandle | handle | ) |  [static] | 
Downcasts to a shader handle. If not, a shader the returned shader handle is left uninitialized.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
- 
  [in] handle Handle to an object 
- Returns:
- Shader handle or an uninitialized handle
Reimplemented from Dali::Handle.
| static Shader Dali::Shader::New | ( | const std::string & | vertexShader, | 
| const std::string & | fragmentShader, | ||
| Hint::Value | hints = Hint::NONE | ||
| ) |  [static] |