def METHOD_NAME():
    buffer.write('$texturegroup "skinfamilies"{\n')
    for skin_fam in mdl.skin_groups:
        buffer.write('{')
        for mat in skin_fam:
            mat_name = mat
            buffer.write('"{}" '.format(mat_name))
        buffer.write('}\n')
    buffer.write('}\n\n')