- st = Statement("pbr")
- st.sub.append(mat_res.create_reference_statement("base_color_map", base_color_res))
- st.sub.append(mat_res.create_reference_statement("sampler", sampler_res))
- mat_res.statements.append(st)
+ mat_res.statements.append(Statement("type", Token('pbr')))
+ mat_res.statements.append(mat_res.create_reference_statement("base_color_map", base_color_res))
+ mat_res.statements.append(mat_res.create_reference_statement("sampler", sampler_res))