NVIDIA OptiX 7.1 API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
OptixBuildInput Struct Reference

Public Attributes

OptixBuildInputType type
 
union {
   OptixBuildInputTriangleArray   triangleArray
 
   OptixBuildInputCurveArray   curveArray
 
   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 { ... }
OptixBuildInputCurveArray OptixBuildInput::curveArray

Curve inputs.

OptixBuildInputCustomPrimitiveArray OptixBuildInput::customPrimitiveArray

Custom primitive inputs.

OptixBuildInputInstanceArray OptixBuildInput::instanceArray

Instance and instance pointer inputs.

char OptixBuildInput::pad[1024]
OptixBuildInputTriangleArray OptixBuildInput::triangleArray

Triangle inputs.

OptixBuildInputType OptixBuildInput::type

The type of the build input.