Tizen Native API
5.0
|
Shaders allows custom vertex and color transformations in the GPU. More...
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. |
Shaders allows custom vertex and color transformations in the GPU.
Default constructor, creates an empty handle.
Destructor. This is non-virtual since derived Handle types must not contain data or virtual methods.
Dali::Shader::Shader | ( | const Shader & | handle | ) |
Dali::Shader::Shader | ( | Internal::Shader * | effect | ) | [explicit] |
static Shader Dali::Shader::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts to a shader handle. If not, a shader the returned shader handle is left uninitialized.
[in] | handle | Handle to an object |
Reimplemented from Dali::Handle.
static Shader Dali::Shader::New | ( | const std::string & | vertexShader, |
const std::string & | fragmentShader, | ||
Hint::Value | hints = Hint::NONE |
||
) | [static] |