# NNS_G3dGetDataBlockHeaderByIdx

## C Specification

      #include <nnsys/g3d/binres/res_struct_accessor.h>

      NNSG3dResDataBlockHeader*
      NNS_G3dGetDataBlockHeaderByIdx(
      const NNSG3dResFileHeader*  header,
      u32             idx
      );

## Arguments

`header` | The pointer to the resource file header
idx | The block header index

## Return Values

Returns the pointer to the block header.

## Description

This function gets the block header in the `idx` position from the resource file data.

## See Also

`NNS_G3dGetMdlSet`, `NNS_G3dGetTex`

## Revision History

08/02/2004 Initial version.