Class MTLIndirectAccelerationStructureMotionInstanceDescriptor


  • public final class MTLIndirectAccelerationStructureMotionInstanceDescriptor
    extends org.moe.natj.c.StructObject
    • Constructor Detail

      • MTLIndirectAccelerationStructureMotionInstanceDescriptor

        public MTLIndirectAccelerationStructureMotionInstanceDescriptor()
      • MTLIndirectAccelerationStructureMotionInstanceDescriptor

        protected MTLIndirectAccelerationStructureMotionInstanceDescriptor​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • options

        public int options()
        Instance options
      • setOptions

        public void setOptions​(int value)
        Instance options
      • mask

        public int mask()
        Instance mask used to ignore geometry during ray tracing
      • setMask

        public void setMask​(int value)
        Instance mask used to ignore geometry during ray tracing
      • intersectionFunctionTableOffset

        public int intersectionFunctionTableOffset()
        Used to index into intersection function tables
      • setIntersectionFunctionTableOffset

        public void setIntersectionFunctionTableOffset​(int value)
        Used to index into intersection function tables
      • userID

        public int userID()
        User-assigned instance ID to help identify this instance in an application-defined way
      • setUserID

        public void setUserID​(int value)
        User-assigned instance ID to help identify this instance in an application-defined way
      • accelerationStructureID

        public MTLResourceID accelerationStructureID()
        Acceleration structure resource handle to use for this instance
      • setAccelerationStructureID

        public void setAccelerationStructureID​(MTLResourceID value)
        Acceleration structure resource handle to use for this instance
      • motionTransformsStartIndex

        public int motionTransformsStartIndex()
        The index of the first set of transforms describing one keyframe of the animation. These transforms are stored in a separate buffer and they are uniformly distributed over time time span of the motion.
      • setMotionTransformsStartIndex

        public void setMotionTransformsStartIndex​(int value)
        The index of the first set of transforms describing one keyframe of the animation. These transforms are stored in a separate buffer and they are uniformly distributed over time time span of the motion.
      • motionTransformsCount

        public int motionTransformsCount()
        The count of motion transforms belonging to this motion which are stored in consecutive memory addresses at the separate motionTransforms buffer.
      • setMotionTransformsCount

        public void setMotionTransformsCount​(int value)
        The count of motion transforms belonging to this motion which are stored in consecutive memory addresses at the separate motionTransforms buffer.
      • motionStartBorderMode

        public int motionStartBorderMode()
        Motion border mode describing what happens if acceleration structure is sampled before motionStartTime
      • setMotionStartBorderMode

        public void setMotionStartBorderMode​(int value)
        Motion border mode describing what happens if acceleration structure is sampled before motionStartTime
      • motionEndBorderMode

        public int motionEndBorderMode()
        Motion border mode describing what happens if acceleration structure is sampled after motionEndTime
      • setMotionEndBorderMode

        public void setMotionEndBorderMode​(int value)
        Motion border mode describing what happens if acceleration structure is sampled after motionEndTime
      • motionStartTime

        public float motionStartTime()
        Motion start time of this instance
      • setMotionStartTime

        public void setMotionStartTime​(float value)
        Motion start time of this instance
      • motionEndTime

        public float motionEndTime()
        Motion end time of this instance
      • setMotionEndTime

        public void setMotionEndTime​(float value)
        Motion end time of this instance