le2d v0.4.3
2D game engine framework
 
Loading...
Searching...
No Matches
sampler.hpp File Reference
#include <le2d/anim/interpolator.hpp>
#include <le2d/anim/keyframe.hpp>
#include <le2d/tile/tile_id.hpp>
#include <algorithm>
#include <concepts>
#include <span>

Go to the source code of this file.

Classes

struct  le::anim::SamplerFloor< PayloadT >
 Quantized Animation Sampler. More...
 
struct  le::anim::SamplerLerp< PayloadT, InterpolatorT >
 Interpolation Animation Sampler. More...
 

Namespaces

namespace  le
 
namespace  le::anim
 

Concepts

concept  le::anim::SamplerT
 Concept for Animation Sampler.
 

Typedefs

using le::anim::TransformSampler = SamplerLerp< Transform, Interpolator< Transform > >
 Interpolated Transform Animation Sampler.
 
using le::anim::FlipbookSampler = SamplerFloor< TileId >
 Quantized Flipbook Animation Sampler.