# NNS_G3dRenderObjSetUserPtr

## C Specification

      #include <nnsys/g3d/kernel.h>

      void*
      NNS_G3dRenderObjSetUserPtr(
      NNSG3dRenderObj* pRenderObj,
      void* ptr
      );

## Arguments

pRenderObj | Pointer to the `NNSG3dRenderObj` structure
`ptr` | Pointer to the region that the callback process uses

## Return Values

Returns the pointer to the user region configured at the point when this function was called.

## Description

Configures the pointer `ptr` to the user region to the user pointer entry of rendering object `pRenderObj`. This region can be accessed when executing the callback. `ptrUser` member of the `NNSG3dRenderObj` structure).

## See Also

`NNS_G3dRenderObjResetCallBack`, `NNS_G3dRenderObjSetCallBack`

## Revision History

08/02/2004 Initial version.