Class Shader
Definition
- Assembly:
- Tizen.NUI.dll
Shader allows custom vertex and color transformations in the GPU.
public class Shader : Animatable, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceShader(string, string, Value)
Creates Shader object.
Declaration
public Shader(string vertexShader, string fragmentShader, Shader.Hint.Value hints)
Parameters
Type | Name | Description |
---|---|---|
string | vertexShader | The vertex shader code for the effect. |
string | fragmentShader | The fragment Shader code for the effect. |
Shader.Hint.Value | hints | The hints to define the geometry of the rendered object. |
Shader(string, string)
Creates Shader object.
Declaration
public Shader(string vertexShader, string fragmentShader)
Parameters
Type | Name | Description |
---|---|---|
string | vertexShader | The vertex shader code for the effect. |
string | fragmentShader | The fragment Shader code for the effect. |
Properties
View SourceProgram
Gets and Sets the program property.
Declaration
public PropertyMap Program { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable