31#ifndef vtkOSPRayMaterialHelpers_h
32#define vtkOSPRayMaterialHelpers_h
50 void* data,
const uint32_t _flags);
topologically and geometrically regular array of data
links vtkRenderers to OSPRay
OSPTexture NewTexture2D(RTW::Backend *backend, const osp::vec2i &size, const OSPTextureFormat type, void *data, const uint32_t _flags)
Helper function to make a 2d OSPRay Texture.
OSPTexture VTKToOSPTexture(RTW::Backend *backend, vtkImageData *vColorTextureMap, bool isSRGB=false)
Manufacture an ospray texture from a 2d vtkImageData.
OSPMaterial MakeMaterial(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string nickname)
Construct one ospray material within the given renderer that corresponds to the visual characteristic...
void MakeMaterials(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::map< std::string, OSPMaterial > &mats)
Construct a set of ospray materials for all of the material names.
OSPMaterial NewMaterial(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string ospMatName)
Wraps ospNewMaterial.