Castor3D 0.16.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

 InterpolatorT ()
 
DataT interpolate (DataT const &src, DataT const &, float) const override
 Interpolation function.
 
- Public Member Functions inherited from castor3d::Interpolator< DataT >
virtual C3D_API ~Interpolator () noexcept=default
 
InterpolatorType getType () const
 

Additional Inherited Members

- Protected Member Functions inherited from castor3d::Interpolator< DataT >
 Interpolator (InterpolatorType type)
 

Detailed Description

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

Partial specialisation of InterpolatorT, for InterpolatorType::eNearest.

Constructor & Destructor Documentation

◆ InterpolatorT()

template<class DataT >
castor3d::InterpolatorT< DataT, InterpolatorType::eNearest >::InterpolatorT ( )
inline

References castor3d::eNearest.

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: