Class Shader

Definition

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

Shader.

C#
Copy
public class Shader : Animatable, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Implements

Constructors

View Source

Shader(String, String)

Creates Shader object.

Declaration
C#
Copy
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 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
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 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

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides

Implements

Extension Methods