|
Nebula
|
#include <animkeybuffer.h>
A simple buffer of vec4 animation keys.
Inherits Core::RefCounted.
Classes | |
| struct | Interval |
Public Member Functions | |
| AnimKeyBuffer () | |
| constructor | |
| virtual | ~AnimKeyBuffer () |
| destructor | |
| void | Setup (SizeT numIntervals, SizeT numKeys, void *intervalPtr, void *keyPtr) |
| setup the buffer | |
| void | Discard () |
| discard the buffer | |
| bool | IsValid () const |
| return true if the object has been setup | |
| SizeT | GetNumKeys () const |
| get number of keys in buffer | |
| SizeT | GetByteSize () const |
| get buffer size in bytes | |
| const float * | GetKeyBufferPointer () const |
| Get direct pointer to keys. | |
| const AnimKeyBuffer::Interval * | GetIntervalBufferPointer () const |
| get direct pointer to interval buffer | |
Public Member Functions inherited from Core::RefCounted | |
| RefCounted () | |
| constructor | |
| int | GetRefCount () const |
| get the current refcount | |
| void | AddRef () |
| increment refcount by one | |
| void | Release () |
| decrement refcount and destroy object if refcount is zero | |
| bool | IsInstanceOf (const Rtti &rtti) const |
| return true if this object is instance of given class | |
| bool | IsInstanceOf (const Util::String &className) const |
| return true if this object is instance of given class by string | |
| bool | IsInstanceOf (const Util::FourCC &classFourCC) const |
| return true if this object is instance of given class by fourcc | |
| bool | IsA (const Rtti &rtti) const |
| return true if this object is instance of given class, or a derived class | |
| bool | IsA (const Util::String &rttiName) const |
| return true if this object is instance of given class, or a derived class, by string | |
| bool | IsA (const Util::FourCC &rttiFourCC) const |
| return true if this object is instance of given class, or a derived class, by fourcc | |
| const Util::String & | GetClassName () const |
| get the class name | |
| Util::FourCC | GetClassFourCC () const |
| get the class FourCC code | |
Private Member Functions | |
| __DeclareClass (AnimKeyBuffer) | |
Private Attributes | |
| SizeT | numKeys |
| SizeT | numIntervals |
| uint | mapCount |
| float * | keyBuffer |
| AnimKeyBuffer::Interval * | intervalBuffer |
Additional Inherited Members | |
Static Public Member Functions inherited from Core::RefCounted | |
| static void | DumpRefCountingLeaks () |
| dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!) | |
Protected Member Functions inherited from Core::RefCounted | |
| virtual | ~RefCounted () |
| destructor (called when refcount reaches zero) | |
| CoreAnimation::AnimKeyBuffer::AnimKeyBuffer | ( | ) |
constructor
|
virtual |
destructor
|
private |
| void CoreAnimation::AnimKeyBuffer::Discard | ( | ) |
discard the buffer
|
inline |
get buffer size in bytes
|
inline |
get direct pointer to interval buffer
|
inline |
Get direct pointer to keys.
|
inline |
get number of keys in buffer
|
inline |
return true if the object has been setup
| void CoreAnimation::AnimKeyBuffer::Setup | ( | SizeT | numIntervals, |
| SizeT | numKeys, | ||
| void * | intervalPtr, | ||
| void * | keyPtr ) |
setup the buffer
|
private |
|
private |
|
private |
|
private |
|
private |