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