#include <nnsys/g3d/mem.h>
NNSG3dAnmObj*
NNS_G3dAllocAnmObj(
NNSFndAllocator* pAlloc,
const void* pAnm,
const NNSG3dResMdl* pMdl
);
pAlloc | Pointer to the memory allocator |
pAnm | Pointer to the animation resource |
pMdl | Pointer to the model resource |
Returns the pointer to the allocated heap region. Returns a NULL
if the region allocation fails.
Allocates the region for the animation object from the heap region. The region size to reserve is calculated using pAnm and pMdl in NNS_G3dAnmObjCalcSizeRequired
. Use the separate function NNS_G3dAnmObjInit
to initialize.
NNS_G3dAnmObjCalcSizeRequired
, NNS_G3dAnmObjInit
, NNS_G3dFreeAnmObj
2004/08/02 Initial version.
CONFIDENTIAL