Nebula
Loading...
Searching...
No Matches
animsamplejob.cc File Reference
#include "animsamplemask.h"
#include "animkeybuffer.h"
#include "animcurve.h"
#include "animclip.h"

Namespaces

namespace  CoreAnimation
 An animation resource holds a set of animations from a loaded NAX file.
 

Functions

Timing::Tick CoreAnimation::WrapTime (const AnimCurve &curve, Timing::Tick time, Timing::Tick lastTime)
 
AnimKeyBuffer::Interval CoreAnimation::FindNextInterval (const AnimCurve &curve, const Timing::Tick time, uint &key, const AnimKeyBuffer::Interval *sampleTimes)
 
void CoreAnimation::AnimSampleStep (const AnimClip &clip, const Util::FixedArray< AnimCurve > &curves, const Timing::Tick time, const Math::vec4 &velocityScale, const Util::FixedArray< Math::vec4 > &idleSamples, const float *srcSamplePtr, const AnimKeyBuffer::Interval *intervalPtr, uint *outSampleKeyPtr, float *outSamplePtr, uchar *outSampleCounts)
 
void CoreAnimation::AnimSampleLinear (const AnimClip &clip, const Util::FixedArray< AnimCurve > &curves, const Timing::Tick time, const Math::vec4 &velocityScale, const Util::FixedArray< Math::vec4 > &idleSamples, const float *srcSamplePtr, const AnimKeyBuffer::Interval *intervalPtr, uint *outSampleKeyPtr, float *outSamplePtr, uchar *outSampleCounts)
 
void CoreAnimation::AnimMix (const AnimClip &clip, const SizeT numSamples, const AnimSampleMask *mask, float mixWeight, const float *src0SamplePtr, const float *src1SamplePtr, const uchar *src0SampleCounts, const uchar *src1SampleCounts, float *outSamplePtr, uchar *outSampleCounts)