#include <optix_types.h>
Public Attributes | |
OptixTraversableHandle | child |
OptixMotionOptions | motionOptions |
unsigned int | pad [3] |
OptixSRTData | srtData [2] |
Represents an SRT motion transformation.
The device address of instances of this type must be a multiple of OPTIX_TRANSFORM_BYTE_ALIGNMENT.
This struct, as defined here, handles only N=2 motion keys due to the fixed array length of its srtData member. The following example shows how to create instances for an arbitrary number N of motion keys:
OptixTraversableHandle OptixSRTMotionTransform::child |
The traversable transformed by this transformation.
OptixMotionOptions OptixSRTMotionTransform::motionOptions |
The motion options for this transformation Must have at least two motion keys.
unsigned int OptixSRTMotionTransform::pad[3] |
Padding to make the SRT data 16 byte aligned.
OptixSRTData OptixSRTMotionTransform::srtData[2] |
The actual SRT data describing the transformation.