Class TextureSet

    Definition

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

    TextureSet is a handle to an object that specifies the set of images used as textures by a renderer.
    The images have to be ordered in the same order they are declared in the shader.

    public class TextureSet : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    TextureSet
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    TextureSet()

    Create an instance of TextureSet.

    Declaration
    public TextureSet()

    Properties

    View Source

    AliveCount

    Gets the number of currently alived TextureSet object.

    Declaration
    public static int AliveCount { get; }
    Property Value
    Type Description
    int
    View Source

    TextureCount

    Gets texture count.

    Declaration
    public uint TextureCount { get; }
    Property Value
    Type Description
    uint

    Methods

    View Source

    Dispose(DisposeTypes)

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    BaseHandle.Dispose(DisposeTypes)
    View Source

    GetSampler(uint)

    Sets the sampler to be used by the image at position "index".

    Declaration
    public Sampler GetSampler(uint index)
    Parameters
    Type Name Description
    uint index

    The position in the texture set of the image.

    Returns
    Type Description
    Sampler

    A handle to the sampler at the specified position.

    View Source

    GetTexture(uint)

    Gets the image at position "index".

    Declaration
    public Texture GetTexture(uint index)
    Parameters
    Type Name Description
    uint index

    The position in the texture set of the image.

    Returns
    Type Description
    Texture

    A handle to the image at the specified position.

    View Source

    GetTextureCount()

    Gets the number of textures present in the TextureSet.

    Declaration
    public uint GetTextureCount()
    Returns
    Type Description
    uint

    The number of textures in the TextureSet.

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    BaseHandle.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)
    View Source

    RemoveSampler(uint)

    Removes the sampler at position "index".

    Declaration
    public void RemoveSampler(uint index)
    Parameters
    Type Name Description
    uint index

    The position in the texture set of the sampler.

    View Source

    RemoveTexture(uint)

    Removes the texture at position "index".

    Declaration
    public void RemoveTexture(uint index)
    Parameters
    Type Name Description
    uint index

    The position in the texture set of the texture.

    View Source

    SetSampler(uint, Sampler)

    Sets the sampler to be used by the image at position "index".

    Declaration
    public void SetSampler(uint index, Sampler sampler)
    Parameters
    Type Name Description
    uint index

    The position in the texture set of the image.

    Sampler sampler

    The sampler to use.

    View Source

    SetTexture(uint, Texture)

    Sets the texture at position "index".

    Declaration
    public void SetTexture(uint index, Texture texture)
    Parameters
    Type Name Description
    uint index

    The position in the texture set of the texture.

    Texture texture

    The texture.

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX