# NNS_G3dRenderObjSetUserPtr

## Syntax

      #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 that was configured at the time this function was called.

## Description

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

## See Also

`NNS_G3dRenderObjResetCallBack`, `NNS_G3dRenderObjSetCallBack`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL