| 9 | #if defined(EMBREE_LOWEST_ISA) |
| 10 | |
| 11 | InstanceArray::InstanceArray (Device* device, unsigned int numTimeSteps) |
| 12 | : Geometry(device,Geometry::GTY_INSTANCE_ARRAY,1,numTimeSteps) |
| 13 | { |
| 14 | object = nullptr; |
| 15 | objects = nullptr; |
| 16 | numObjects = 0; |
| 17 | gsubtype = GTY_SUBTYPE_INSTANCE_LINEAR; |
| 18 | l2w_buf.resize(numTimeSteps); |
| 19 | device->memoryMonitor(sizeof(*this), false); |
| 20 | } |
| 21 | |
| 22 | InstanceArray::~InstanceArray() |
| 23 | { |
nothing calls this directly
no test coverage detected