public final class MTLAccelerationStructureMotionInstanceDescriptor
extends org.moe.natj.c.StructObject
| Modifier | Constructor and Description |
|---|---|
|
MTLAccelerationStructureMotionInstanceDescriptor() |
protected |
MTLAccelerationStructureMotionInstanceDescriptor(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and 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
|
public MTLAccelerationStructureMotionInstanceDescriptor()
protected MTLAccelerationStructureMotionInstanceDescriptor(org.moe.natj.general.Pointer peer)
public int options()
public void setOptions(int value)
public int mask()
public void setMask(int value)
public int intersectionFunctionTableOffset()
public void setIntersectionFunctionTableOffset(int value)
public int accelerationStructureIndex()
public void setAccelerationStructureIndex(int value)
public int userID()
public void setUserID(int value)
public int motionTransformsStartIndex()
public void setMotionTransformsStartIndex(int value)
public int motionTransformsCount()
public void setMotionTransformsCount(int value)
public int motionStartBorderMode()
public void setMotionStartBorderMode(int value)
public int motionEndBorderMode()
public void setMotionEndBorderMode(int value)
public float motionStartTime()
public void setMotionStartTime(float value)
public float motionEndTime()
public void setMotionEndTime(float value)