# NNS_G3dAllocRenderObj

## Syntax

      #include <nnsys/g3d/mem.h>

      NNSG3dRenderObj*
      NNS_G3dAllocRenderObj(
          NNSFndAllocator* pAlloc
      );

## Arguments

pAlloc | Pointer to the memory allocator.

## Return Values

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

## Description

Allocates the region for the rendering object from the heap region. Initialize with the `NNS_G3dRenderObjInit` function separately.

## See Also

`NNS_G3dRenderObjInit`, `NNS_G3dFreeRenderObj`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL