NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixBuildInput Struct Reference

#include <optix_types.h>

Public Attributes

OptixBuildInputType type
 
union {
   OptixBuildInputTriangleArray   triangleArray
 
   OptixBuildInputCurveArray   curveArray
 
   OptixBuildInputSphereArray   sphereArray
 
   OptixBuildInputCustomPrimitiveArray   customPrimitiveArray
 
   OptixBuildInputInstanceArray   instanceArray
 
   char   pad [1024]
 
}; 
 

Detailed Description

Build inputs.

All of them support motion and the size of the data arrays needs to match the number of motion steps

See also
optixAccelComputeMemoryUsage(), optixAccelBuild()

Member Data Documentation

 

union { ... } OptixBuildInput::@1

 curveArray

OptixBuildInputCurveArray OptixBuildInput::curveArray

Curve inputs.

 customPrimitiveArray

OptixBuildInputCustomPrimitiveArray OptixBuildInput::customPrimitiveArray

Custom primitive inputs.

 instanceArray

OptixBuildInputInstanceArray OptixBuildInput::instanceArray

Instance and instance pointer inputs.

 pad

char OptixBuildInput::pad[1024]

 sphereArray

OptixBuildInputSphereArray OptixBuildInput::sphereArray

Sphere inputs.

 triangleArray

OptixBuildInputTriangleArray OptixBuildInput::triangleArray

Triangle inputs.

 type

OptixBuildInputType OptixBuildInput::type

The type of the build input.