Package org.robovm.apple.metalps
Class MPSIntersectionDistancePrimitiveIndex
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.rt.bro.Struct<MPSIntersectionDistancePrimitiveIndex>
org.robovm.apple.metalps.MPSIntersectionDistancePrimitiveIndex
- All Implemented Interfaces:
Iterable<MPSIntersectionDistancePrimitiveIndex>
public class MPSIntersectionDistancePrimitiveIndex extends Struct<MPSIntersectionDistancePrimitiveIndex>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSIntersectionDistancePrimitiveIndex.MPSIntersectionDistancePrimitiveIndexPtr -
Constructor Summary
Constructors Constructor Description MPSIntersectionDistancePrimitiveIndex()MPSIntersectionDistancePrimitiveIndex(float distance, int primitiveIndex) -
Method Summary
Modifier and Type Method Description floatgetDistance()intgetPrimitiveIndex()MPSIntersectionDistancePrimitiveIndexsetDistance(float distance)MPSIntersectionDistancePrimitiveIndexsetPrimitiveIndex(int primitiveIndex)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
Constructor Details
-
MPSIntersectionDistancePrimitiveIndex
public MPSIntersectionDistancePrimitiveIndex() -
MPSIntersectionDistancePrimitiveIndex
public MPSIntersectionDistancePrimitiveIndex(float distance, int primitiveIndex)
-
-
Method Details
-
getDistance
public float getDistance() -
setDistance
-
getPrimitiveIndex
public int getPrimitiveIndex() -
setPrimitiveIndex
-