Class Sampler

Definition

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

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

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

Constructors

View Source

Sampler()

Create an instance of Sampler.

Declaration
C#
Copy
public Sampler()
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
View Source

SetFilterMode(FilterModeType, FilterModeType)

Sets the filter modes for this sampler.

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

API Level: 3
View Source

SetWrapMode(WrapModeType, WrapModeType)

Sets the wrap modes for this sampler.

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

API Level: 3
View Source

SetWrapMode(WrapModeType, WrapModeType, WrapModeType)

Sets the wrap modes for this sampler.

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

API Level: 3

Implements

Extension Methods