Class Sampler
Definition
- 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, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
-
System.
Component Model. INotify Property Changed System.IDisposable
Constructors
View SourceSampler()
Create an instance of Sampler.
Declaration
public Sampler()
Methods
View SourceDispose(DisposeTypes)
Dispose.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
Dispose |
type |
Overrides
View SourceSetFilterMode(FilterModeType, FilterModeType)
Sets the filter modes for this sampler.
Declaration
public void SetFilterMode(FilterModeType minFilter, FilterModeType magFilter)
Parameters
Type | Name | Description |
---|---|---|
Filter |
minFilter | The minification filter that will be used. |
Filter |
magFilter | The magnification filter that will be used. |
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 |
---|---|---|
Wrap |
rWrap | Wrap mode for the x direction. |
Wrap |
sWrap | Wrap mode for the y direction. |
Wrap |
tWrap | Wrap mode for the z direction. |
SetWrapMode(WrapModeType, WrapModeType)
Sets the wrap modes for this sampler.
Declaration
public void SetWrapMode(WrapModeType uWrap, WrapModeType vWrap)
Parameters
Type | Name | Description |
---|---|---|
Wrap |
uWrap | Wrap mode for u coordinates. |
Wrap |
vWrap | Wrap mode for v coordinates. |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable