Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::InterpolatorT< DataT, InterpolatorType::eNearest > Class Template Reference

Partial specialisation of InterpolatorT, for InterpolatorType::eNearest. More...

#include <Interpolator.hpp>

Inheritance diagram for castor3d::InterpolatorT< DataT, InterpolatorType::eNearest >:
Inheritance graph
[legend]
Collaboration diagram for castor3d::InterpolatorT< DataT, InterpolatorType::eNearest >:
Collaboration graph
[legend]

Public Member Functions

DataT interpolate (DataT const &src, DataT const &, float) const override
 Interpolation function. More...
 
virtual C3D_API DataT interpolate (DataT const &src, DataT const &dst, float percent) const =0
 Interpolation function. More...
 

Additional Inherited Members

- Protected Member Functions inherited from castor3d::Interpolator< DataT >
virtual ~Interpolator ()=default
 

Detailed Description

template<class DataT>
class castor3d::InterpolatorT< DataT, InterpolatorType::eNearest >

Partial specialisation of InterpolatorT, for InterpolatorType::eNearest.

Author
Sylvain DOREMUS
Version
0.8.0
Date
24/01/2016

Member Function Documentation

◆ interpolate()

template<class DataT >
DataT castor3d::InterpolatorT< DataT, InterpolatorType::eNearest >::interpolate ( DataT const &  src,
DataT const &  ,
float   
) const
inlineoverridevirtual

Interpolation function.

Parameters
[in]srcThe start.

Implements castor3d::Interpolator< DataT >.


The documentation for this class was generated from the following file: