def METHOD_NAME(self, path):
    textures = []
    for dir, subdir, files in os.walk(path):
        textures.extend(
            os.path.join(dir, x) for x in files
            if os.path.splitext(x)[1].lower() in texture_extensions)
    return textures