MCPcopy Create free account
hub / github.com/RenderKit/ospray / newMaterial

Method newMaterial

modules/cpu/ISPCDevice.cpp:416–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414///////////////////////////////////////////////////////////////////////////
415
416OSPMaterial ISPCDevice::newMaterial(const char *material_type)
417{
418 return (OSPMaterial)Material::createInstance(material_type, *this);
419}
420
421OSPTransferFunction ISPCDevice::newTransferFunction(const char *type)
422{

Callers 1

ospNewMaterialFunction · 0.45

Calls 1

createInstanceFunction · 0.85

Tested by

no test coverage detected