Class Shader

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    Shader allows custom vertex and color transformations in the GPU.

    public class Shader : Animatable, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Shader
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    Shader(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.

    View Source

    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 Source

    Program

    Gets and Sets the program property.

    Declaration
    public PropertyMap Program { get; set; }
    Property Value
    Type Description
    PropertyMap

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX