Class MPSTriangleIntersectionTestType
- java.lang.Object
-
- apple.metalperformanceshaders.enums.MPSTriangleIntersectionTestType
-
public final class MPSTriangleIntersectionTestType extends java.lang.ObjectOptions for the MPSRayIntersector triangle intersection test type property
-
-
Field Summary
Fields Modifier and Type Field Description static longDefaultUse the default ray/triangle intersection teststatic longWatertightUse a watertight ray/triangle intersection test which avoids gaps along shared triangle edges.
-
-
-
Field Detail
-
Default
public static final long Default
Use the default ray/triangle intersection test- See Also:
- Constant Field Values
-
Watertight
public static final long Watertight
Use a watertight ray/triangle intersection test which avoids gaps along shared triangle edges. Shared vertices may still have gaps. This intersection test may be slower than MPSTriangleIntersectionTestTypeDefault.- See Also:
- Constant Field Values
-
-