Package apple.metal.struct
Class MTLIndirectAccelerationStructureMotionInstanceDescriptor
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.metal.struct.MTLIndirectAccelerationStructureMotionInstanceDescriptor
-
public final class MTLIndirectAccelerationStructureMotionInstanceDescriptor extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description MTLIndirectAccelerationStructureMotionInstanceDescriptor()protectedMTLIndirectAccelerationStructureMotionInstanceDescriptor(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MTLResourceIDaccelerationStructureID()Acceleration structure resource handle to use for this instanceintintersectionFunctionTableOffset()Used to index into intersection function tablesintmask()Instance mask used to ignore geometry during ray tracingintmotionEndBorderMode()Motion border mode describing what happens if acceleration structure is sampled after motionEndTimefloatmotionEndTime()Motion end time of this instanceintmotionStartBorderMode()Motion border mode describing what happens if acceleration structure is sampled before motionStartTimefloatmotionStartTime()Motion start time of this instanceintmotionTransformsCount()The count of motion transforms belonging to this motion which are stored in consecutive memory addresses at the separate motionTransforms buffer.intmotionTransformsStartIndex()The index of the first set of transforms describing one keyframe of the animation.intoptions()Instance optionsvoidsetAccelerationStructureID(MTLResourceID value)Acceleration structure resource handle to use for this instancevoidsetIntersectionFunctionTableOffset(int value)Used to index into intersection function tablesvoidsetMask(int value)Instance mask used to ignore geometry during ray tracingvoidsetMotionEndBorderMode(int value)Motion border mode describing what happens if acceleration structure is sampled after motionEndTimevoidsetMotionEndTime(float value)Motion end time of this instancevoidsetMotionStartBorderMode(int value)Motion border mode describing what happens if acceleration structure is sampled before motionStartTimevoidsetMotionStartTime(float value)Motion start time of this instancevoidsetMotionTransformsCount(int value)The count of motion transforms belonging to this motion which are stored in consecutive memory addresses at the separate motionTransforms buffer.voidsetMotionTransformsStartIndex(int value)The index of the first set of transforms describing one keyframe of the animation.voidsetOptions(int value)Instance optionsvoidsetUserID(int value)User-assigned instance ID to help identify this instance in an application-defined wayintuserID()User-assigned instance ID to help identify this instance in an application-defined way
-
-
-
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
-
-