# GetObjectNumTextures

## Description

Gets the number of texture references that was found when loading the object. An object can have multiple texture references. This information will only be available if the model file have a material setup with a diffuse texture reference.

## Definition

integer GetObjectNumTextures(UINT objID)

UINT agk::GetObjectNumTextures(UINT objID)

## Parameters

- objID - The ID of the object to check.