1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
// Copyright 2009 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include "math/spectrum.h"
#include "render/Material.h"
// ispc shared
#include "MetallicPaintShared.h"
namespace ospray {
namespace pathtracer {
struct MetallicPaint : public AddStructShared<Material, ispc::MetallicPaint>
{
MetallicPaint(api::ISPCDevice &device);
virtual std::string toString() const override;
virtual void commit() override;
private:
MaterialParam3f color;
};
} // namespace pathtracer
} // namespace ospray
|