NNS_G3dAllocRecBufferJnt

C Specification

#include <nnsys/g3d/mem.h>
NNSG3dJntAnmResult_*
NNS_G3dAllocRecBufferJnt(
NNSFndAllocator* pAlloc,
const NNSG3dResMdl* pResMdl);
);

Arguments

pAlloc Pointer to the memory allocator
pResMdl Pointer to the model resource

Return Values

Returns the pointer to the allocated heap region. Returns a NULL if the region allocation fails.

Description

Allocates the record buffer region used to store the results from the joint animation calculation that can be attached to a rendering object. The size of the region is determined by the number of joint animations in the model resource that is indicated by pResMdl.

See Also

NNS_G3dFreeRecBufferJnt

Revision History

08/02/2004 Initial version.


CONFIDENTIAL