13 lines
246 B
Plaintext
13 lines
246 B
Plaintext
import Common;
|
|
import BRDF;
|
|
import MaterialParameter;
|
|
|
|
interface IMaterial
|
|
{
|
|
associatedtype BRDF : IBRDF;
|
|
BRDF prepare(MaterialFragmentParameter input);
|
|
};
|
|
|
|
layout(set = INDEX_MATERIAL, binding = 0, std430)
|
|
ParameterBlock<IMaterial> gMaterial;
|