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

Function ospDeviceGetProperty

ospray/api/API.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154OSPRAY_CATCH_END(OSP_INVALID_OPERATION)
155
156extern "C" int64_t ospDeviceGetProperty(
157 OSPDevice _device, OSPDeviceProperty _deviceProperty) OSPRAY_CATCH_BEGIN
158{
159 auto *device = (Device *)_device;
160 return device->getProperty(_deviceProperty);
161}
162OSPRAY_CATCH_END(0)
163
164extern "C" void ospShutdown() OSPRAY_CATCH_BEGIN

Callers

nothing calls this directly

Calls 1

getPropertyMethod · 0.80

Tested by

no test coverage detected