# NNS_G3dGetDataBlockHeaderByIdx

## Syntax

      #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 `idx`-numbered block header from the resource file data.

## See Also

`NNS_G3dGetMdlSet`, `NNS_G3dGetTex`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL