Class Shader

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

Shader.

C#
Copy
public class Shader : Animatable, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
System.Object
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
Shader
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

Shader(String, String)

Creates Shader object.

Declaration
C#
Copy
public Shader(string vertexShader, string fragmentShader)
Parameters
Type Name Description
System.String vertexShader

The vertex shader code for the effect.

System.String fragmentShader

The fragment Shader code for the effect.

API Level: 3
View Source

Shader(String, String, Shader.Hint.Value)

Creates Shader object.

Declaration
C#
Copy
public Shader(string vertexShader, string fragmentShader, Shader.Hint.Value hints)
Parameters
Type Name Description
System.String vertexShader

The vertex shader code for the effect.

System.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 Source

Program

Gets and Sets the program property.

Declaration
C#
Copy
public PropertyMap Program { get; set; }
Property Value
Type Description
PropertyMap
API Level: 3

Methods

View Source

Dispose(DisposeTypes)

Dispose.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 3

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable