Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Private Attributes
Dali::Internal::Render::Sampler Class Reference

#include <render-sampler.h>

Public Types

typedef Dali::FilterMode::Type FilterMode
 
typedef Dali::WrapMode::Type WrapMode
 

Public Member Functions

 Sampler ()
 Constructor. More...
 
 ~Sampler ()
 Destructor. More...
 
void SetFilterMode (FilterMode minFilter, FilterMode magFilter)
 Set the filter modes for minify and magnify filters. More...
 
void SetWrapMode (WrapMode uWrap, WrapMode vWrap)
 
FilterMode GetMinifyFilterMode () const
 Get the filter mode. More...
 
FilterMode GetMagnifyFilterMode () const
 Get the filter mode. More...
 
WrapMode GetUWrapMode () const
 Get the horizontal wrap mode. More...
 
WrapMode GetVWrapMode () const
 Get the vertical wrap mode. More...
 

Private Attributes

FilterMode mMinFilter
 The minify filter. More...
 
FilterMode mMagFilter
 The magnify filter. More...
 
WrapMode mUWrapMode
 The horizontal wrap mode. More...
 
WrapMode mVWrapMode
 The vertical wrap mode. More...
 

Detailed Description

Definition at line 30 of file render-sampler.h.

Member Typedef Documentation

Definition at line 33 of file render-sampler.h.

Definition at line 34 of file render-sampler.h.

Constructor & Destructor Documentation

Dali::Internal::Render::Sampler::Sampler ( )
inline

Constructor.

Definition at line 39 of file render-sampler.h.

Dali::Internal::Render::Sampler::~Sampler ( )
inline

Destructor.

Definition at line 49 of file render-sampler.h.

Member Function Documentation

FilterMode Dali::Internal::Render::Sampler::GetMagnifyFilterMode ( ) const
inline

Get the filter mode.

Returns
The magnify filter mode

Definition at line 88 of file render-sampler.h.

References mMagFilter.

FilterMode Dali::Internal::Render::Sampler::GetMinifyFilterMode ( ) const
inline

Get the filter mode.

Returns
The minify filter mode

Definition at line 79 of file render-sampler.h.

References mMinFilter.

WrapMode Dali::Internal::Render::Sampler::GetUWrapMode ( ) const
inline

Get the horizontal wrap mode.

Returns
The horizontal wrap mode

Definition at line 97 of file render-sampler.h.

References mUWrapMode.

WrapMode Dali::Internal::Render::Sampler::GetVWrapMode ( ) const
inline

Get the vertical wrap mode.

Returns
The vertical wrap mode

Definition at line 106 of file render-sampler.h.

References mVWrapMode.

void Dali::Internal::Render::Sampler::SetFilterMode ( FilterMode  minFilter,
FilterMode  magFilter 
)
inline

Set the filter modes for minify and magnify filters.

Parameters
[in]bufferIndexThe buffer index to use
[in]minFilterThe minify filter
[in]magFilterThe magnify filter

Definition at line 58 of file render-sampler.h.

References mMagFilter, and mMinFilter.

Referenced by Dali::Internal::SceneGraph::RenderManager::SetFilterMode().

Here is the caller graph for this function:

void Dali::Internal::Render::Sampler::SetWrapMode ( WrapMode  uWrap,
WrapMode  vWrap 
)
inline
Parameters
[in]bufferIndexThe buffer index to use

Definition at line 67 of file render-sampler.h.

References mUWrapMode, and mVWrapMode.

Referenced by Dali::Internal::SceneGraph::RenderManager::SetWrapMode().

Here is the caller graph for this function:

Member Data Documentation

FilterMode Dali::Internal::Render::Sampler::mMagFilter
private

The magnify filter.

Definition at line 114 of file render-sampler.h.

Referenced by GetMagnifyFilterMode(), and SetFilterMode().

FilterMode Dali::Internal::Render::Sampler::mMinFilter
private

The minify filter.

Definition at line 113 of file render-sampler.h.

Referenced by GetMinifyFilterMode(), and SetFilterMode().

WrapMode Dali::Internal::Render::Sampler::mUWrapMode
private

The horizontal wrap mode.

Definition at line 115 of file render-sampler.h.

Referenced by GetUWrapMode(), and SetWrapMode().

WrapMode Dali::Internal::Render::Sampler::mVWrapMode
private

The vertical wrap mode.

Definition at line 116 of file render-sampler.h.

Referenced by GetVWrapMode(), and SetWrapMode().


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali