Class Shader
Definition
- Assembly:
- Tizen.NUI.dll
Shader.
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 |
Methods
View SourceDispose(DisposeTypes)
Dispose.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable