#include <nnsys/g3d/mem.h>
NNSG3dMatAnmResult*
NNS_G3dAllocRecBufferMat(
NNSFndAllocator* pAlloc,
const NNSG3dResMdl* pResMdl
);
pAlloc | Pointer to the memory allocator |
pResMdl | Pointer to the model resource |
Returns the pointer to the allocated heap region. Returns a NULL
if the region allocation fails.
Allocates the record buffer region used to hold the calculation results for materials that can be attached to a rendering object. The size of the region is determined by the number of materials in the model resource that is indicated by pResMdl
.
2004/08/02 Initial version.
CONFIDENTIAL