#include <optix_types.h>
Public Attributes | |
unsigned int | numInstances |
CUdeviceptr | traversableHandles |
Instance and instance pointer inputs.
unsigned int OptixRelocateInputInstanceArray::numInstances |
Number of elements in OptixRelocateInputInstanceArray::traversableHandles. Must match OptixBuildInputInstanceArray::numInstances of the source build input.
CUdeviceptr OptixRelocateInputInstanceArray::traversableHandles |
These are the traversable handles of the instances (See OptixInstance::traversableHandle) These can be used when also relocating the instances. No updates to the bounds are performed. Use optixAccelBuild to update the bounds. 'traversableHandles' may be zero when the traversables are not relocated (i.e. relocation of an IAS on the source device).