10 const float baseColorG,
11 const float baseColorB,
12 const float metalMask,
13 const float smoothness)
15 mBaseColor_MetalMask[0U] = baseColorR;
16 mBaseColor_MetalMask[1U] = baseColorG;
17 mBaseColor_MetalMask[2U] = baseColorB;
18 mBaseColor_MetalMask[3U] = metalMask;
19 mSmoothness = smoothness;
28 if (
this == &instance) {
32 memcpy(mBaseColor_MetalMask, instance.mBaseColor_MetalMask,
sizeof(mBaseColor_MetalMask));
33 mSmoothness = instance.mSmoothness;
39 float mBaseColor_MetalMask[4U]{ 1.0f, 1.0f, 1.0f, 0.0f };
40 float mSmoothness{ 1.0f };
Definition: MaterialProperties.h:6