import Common; import BRDF; import MaterialParameter; interface IMaterial { associatedtype BRDF : IBRDF; BRDF prepare(MaterialFragmentParameter input); }; layout(set = INDEX_MATERIAL, binding = 0, std430) ParameterBlock gMaterial;