#include "SHOP_Multi.h"
using namespace HDK_Sample;
"opdef:/Shop/principledshader?SurfaceVexCode");
#if 0
"opdef:/Shop/principledshader?DisplacementVexCode");
#else
#endif
static PRM_Name surfaceShader(
"surface",
"Surface Shader");
static PRM_Name displaceShader(
"displace",
"Displacement Shader");
static PRM_Name vm_displacebound(
"vm_displacebound",
"Displace Bounds");
};
{
}
SHOP_Multi::~SHOP_Multi()
{
}
bool
{
switch (interpret_type)
{
evalString(result, "surface", 0, now);
return true;
evalString(result, "displace", 0, now);
return true;
default:
break;
}
return false;
}
{
switch (type)
{
evalString(tmp, "surface", 0, now);
evalString(tmp, "displace", 0, now);
default:
return nullptr;
}
}
bool
SHOP_Multi::matchesShaderType(
SHOP_TYPE type)
{
}
{
evalString(tmp, "surface", 0, now);
evalString(tmp, "displace", 0, now);
evalFloat("vm_displacebound", 0, now);
}
{
return new SHOP_Multi(net, name, entry);
}
void
{
theConstructor,
theTemplates,
nullptr,
0, 0,
}
void
{
SHOP_Multi::install(table);
}