Class MTLAccelerationStructureMotionInstanceDescriptor


  • public final class MTLAccelerationStructureMotionInstanceDescriptor
    extends org.moe.natj.c.StructObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int accelerationStructureIndex()
      Acceleration structure index to use for this instance
      int intersectionFunctionTableOffset()
      Used to index into intersection function tables
      int mask()
      Instance mask used to ignore geometry during ray tracing
      int motionEndBorderMode()
      Motion border mode describing what happens if acceleration structure is sampled after motionEndTime
      float motionEndTime()
      Motion end time of this instance
      int motionStartBorderMode()
      Motion border mode describing what happens if acceleration structure is sampled before motionStartTime
      float motionStartTime()
      Motion start time of this instance
      int motionTransformsCount()
      The count of motion transforms belonging to this motion which are stored in consecutive memory addresses at the separate motionTransforms buffer.
      int motionTransformsStartIndex()
      The index of the first set of transforms describing one keyframe of the animation.
      int options()
      Instance options
      void setAccelerationStructureIndex​(int value)
      Acceleration structure index to use for this instance
      void setIntersectionFunctionTableOffset​(int value)
      Used to index into intersection function tables
      void setMask​(int value)
      Instance mask used to ignore geometry during ray tracing
      void setMotionEndBorderMode​(int value)
      Motion border mode describing what happens if acceleration structure is sampled after motionEndTime
      void setMotionEndTime​(float value)
      Motion end time of this instance
      void setMotionStartBorderMode​(int value)
      Motion border mode describing what happens if acceleration structure is sampled before motionStartTime
      void setMotionStartTime​(float value)
      Motion start time of this instance
      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.
      void setMotionTransformsStartIndex​(int value)
      The index of the first set of transforms describing one keyframe of the animation.
      void setOptions​(int value)
      Instance options
      void setUserID​(int value)
      User-assigned instance ID to help identify this instance in an application-defined way
      int userID()
      User-assigned instance ID to help identify this instance in an application-defined way
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MTLAccelerationStructureMotionInstanceDescriptor

        public MTLAccelerationStructureMotionInstanceDescriptor()
      • MTLAccelerationStructureMotionInstanceDescriptor

        protected MTLAccelerationStructureMotionInstanceDescriptor​(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
      • accelerationStructureIndex

        public int accelerationStructureIndex()
        Acceleration structure index to use for this instance
      • setAccelerationStructureIndex

        public void setAccelerationStructureIndex​(int value)
        Acceleration structure index to use for this instance
      • 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
      • 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