Package apple.metal.enums
Class MTLCurveType
- java.lang.Object
-
- apple.metal.enums.MTLCurveType
-
public final class MTLCurveType extends java.lang.ObjectCurve types API-Since: 17.0
-
-
Field Detail
-
Round
public static final long Round
Curve with a circular cross-section. These curves have the advantage of having a real 3D shape consistent across different ray directions, well-defined surface normals, etc. However, they may be slower to intersect. These curves are ideal for viewing close-up. API-Since: 17.0- See Also:
- Constant Field Values
-
Flat
public static final long Flat
Curve with a flat cross-section aligned with the ray direction. These curves may be faster to intersect but do not have a consistent 3D structure across different rays. These curves are ideal for viewing at a distance or curves with a small radius such as hair and fur. API-Since: 17.0- See Also:
- Constant Field Values
-
-