Class Shader
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
Shader.
public class Shader : Animatable, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Implements
Constructors
View SourceShader(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. |
API Level: 3
View SourceShader(String, String, Shader.Hint.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. |
API Level: 3
Properties
View SourceProgram
Gets and Sets the program property.
Declaration
public PropertyMap Program { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |