Class Sampler

    Definition

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

    Sampler is a handle to an object that can be used to provide the sampling parameters to sample textures.

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

    Constructors

    View Source

    Sampler()

    Create an instance of Sampler.

    Declaration
    public Sampler()

    Properties

    View Source

    MagnificationFilter

    Determines how a texture is sampled when scaled up

    Declaration
    public SamplerFilter MagnificationFilter { get; set; }
    Property Value
    Type Description
    SamplerFilter
    View Source

    MinificationFilter

    Determines how a texture is sampled when scaled down

    Declaration
    public SamplerFilter MinificationFilter { get; set; }
    Property Value
    Type Description
    SamplerFilter
    View Source

    MipmapFilter

    Specifies how mipmaps are used for texture sampling

    Declaration
    public MipmapFilter MipmapFilter { get; set; }
    Property Value
    Type Description
    MipmapFilter

    Methods

    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

    SetFilterMode(FilterModeType, FilterModeType)

    Sets the filter modes for this sampler.

    Declaration
    public void SetFilterMode(FilterModeType minFilter, FilterModeType magFilter)
    Parameters
    Type Name Description
    FilterModeType minFilter

    The minification filter that will be used.

    FilterModeType magFilter

    The magnification filter that will be used.

    View Source

    SetWrapMode(WrapModeType, WrapModeType, WrapModeType)

    Sets the wrap modes for this sampler.

    Declaration
    public void SetWrapMode(WrapModeType rWrap, WrapModeType sWrap, WrapModeType tWrap)
    Parameters
    Type Name Description
    WrapModeType rWrap

    Wrap mode for the x direction.

    WrapModeType sWrap

    Wrap mode for the y direction.

    WrapModeType tWrap

    Wrap mode for the z direction.

    View Source

    SetWrapMode(WrapModeType, WrapModeType)

    Sets the wrap modes for this sampler.

    Declaration
    public void SetWrapMode(WrapModeType uWrap, WrapModeType vWrap)
    Parameters
    Type Name Description
    WrapModeType uWrap

    Wrap mode for u coordinates.

    WrapModeType vWrap

    Wrap mode for v coordinates.

    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