NVIDIA OptiX 8.1 nvidia_logo_transpbg.gif Up
OptixRelocateInputInstanceArray Struct Reference

#include <optix_types.h>

Public Attributes

unsigned int numInstances
 
CUdeviceptr traversableHandles
 

Detailed Description

Instance and instance pointer inputs.

See also
OptixRelocateInput::instanceArray

Member Data Documentation

 numInstances

unsigned int OptixRelocateInputInstanceArray::numInstances

Number of elements in OptixRelocateInputInstanceArray::traversableHandles. Must match OptixBuildInputInstanceArray::numInstances of the source build input.

 traversableHandles

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).