Doc.RenderMaterials Children

For a RenderMaterial use GetTextureForUsage

Here a short script that gets that diffuse texture:

It should give you enough info to get started.