|
Nebula
|
#include <animsamplebuffer.h>
Stores the result of an animation sampling operation, stores samples key values and sample-counts which keep track of the number of samples which contributed to a mixing result (this is necessary for correct mixing of partial animations).
Public Member Functions | |
| AnimSampleBuffer () | |
| constructor | |
| virtual | ~AnimSampleBuffer () |
| destructor | |
| AnimSampleBuffer (AnimSampleBuffer &&rhs) | |
| move operator | |
| AnimSampleBuffer (const AnimSampleBuffer &rhs) | |
| copy operator | |
| void | operator= (AnimSampleBuffer &&rhs) |
| assign move operator | |
| void | operator= (const AnimSampleBuffer &rhs) |
| assign move operator | |
| void | Setup (const AnimationId &animResource) |
| setup the object from an animation resource | |
| void | Discard () |
| discard the object | |
| bool | IsValid () const |
| return true if the object has been setup | |
| void | Reset () |
| Reset the sample buffer. | |
| SizeT | GetNumSamples () const |
| get the number of samples in the buffer | |
| float * | GetSamplesPointer () const |
| get direct pointer to samples | |
| uchar * | GetSampleCountsPointer () const |
| get direct pointer to sample counts | |
Private Attributes | |
| AnimationId | animResource |
| SizeT | numSamples |
| float * | samples |
| uchar * | sampleCounts |
| CoreAnimation::AnimSampleBuffer::AnimSampleBuffer | ( | ) |
constructor
|
virtual |
destructor
| CoreAnimation::AnimSampleBuffer::AnimSampleBuffer | ( | AnimSampleBuffer && | rhs | ) |
move operator
| CoreAnimation::AnimSampleBuffer::AnimSampleBuffer | ( | const AnimSampleBuffer & | rhs | ) |
copy operator
| void CoreAnimation::AnimSampleBuffer::Discard | ( | ) |
discard the object
|
inline |
get the number of samples in the buffer
|
inline |
get direct pointer to sample counts
|
inline |
get direct pointer to samples
|
inline |
return true if the object has been setup
| void CoreAnimation::AnimSampleBuffer::operator= | ( | AnimSampleBuffer && | rhs | ) |
assign move operator
| void CoreAnimation::AnimSampleBuffer::operator= | ( | const AnimSampleBuffer & | rhs | ) |
assign move operator
| void CoreAnimation::AnimSampleBuffer::Reset | ( | ) |
Reset the sample buffer.
| void CoreAnimation::AnimSampleBuffer::Setup | ( | const AnimationId & | animResource | ) |
setup the object from an animation resource
|
private |
|
private |
|
private |
|
private |