NNS_G3dAllocRecBufferJnt

Syntax

#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 calcluation results for joints that can be attached to a rendering object. The size of the region is determined by the number of joints in the model resource that is indicated by pResMdl.

See Also

NNS_G3dFreeRecBufferJnt

Revision History

2004/08/02 Initial version.


CONFIDENTIAL