Package apple.metal.enums
Class MTLIntersectionFunctionSignature
- java.lang.Object
-
- apple.metal.enums.MTLIntersectionFunctionSignature
-
public final class MTLIntersectionFunctionSignature extends java.lang.ObjectSignature defining what data is provided to an intersection function. The signature must match across the shading language declaration of the intersection function table, intersection functions in the table, and the intersector using the table. API-Since: 14.0
-
-
Field Summary
Fields Modifier and Type Field Description static longCurveDataThe curve intersection functions can read the built-in curve_parameter as described in the Metal Shading Language Guide.static longExtendedLimitsThe intersection functions may be called from intersectors using the extended_limits intersection tag as described in the Metal Shading Language Guide.static longInstanceMotionThe intersection functions may be called from intersectors using the instance_motion intersection tag as described in the Metal Shading Language Guide.static longInstancingThe intersection functions can read the built-in instance_id as described in the Metal Shading Language Guide.static longMaxLevelsThe intersection functions may be called from intersectors using the max_levels intersection tag as described in the Metal Shading Language Guide.static longNoneNo signature API-Since: 14.0static longPrimitiveMotionThe intersection functions can query time, motion_start_time, motion_end_time and key_frame_count as described in the Metal Shading Language Guide.static longTriangleDataThe triangle intersection functions can read the built-in barycentric_coord and front_facing as described in the Metal Shading Language Guide.static longWorldSpaceDataThe intersection functions can query world_space_origin and world_space_direction as described in the Metal Shading Language Guide.
-
-
-
Field Detail
-
None
public static final long None
No signature API-Since: 14.0- See Also:
- Constant Field Values
-
Instancing
public static final long Instancing
The intersection functions can read the built-in instance_id as described in the Metal Shading Language Guide. API-Since: 14.0- See Also:
- Constant Field Values
-
TriangleData
public static final long TriangleData
The triangle intersection functions can read the built-in barycentric_coord and front_facing as described in the Metal Shading Language Guide. API-Since: 14.0- See Also:
- Constant Field Values
-
WorldSpaceData
public static final long WorldSpaceData
The intersection functions can query world_space_origin and world_space_direction as described in the Metal Shading Language Guide. API-Since: 14.0- See Also:
- Constant Field Values
-
InstanceMotion
public static final long InstanceMotion
The intersection functions may be called from intersectors using the instance_motion intersection tag as described in the Metal Shading Language Guide. API-Since: 15.0- See Also:
- Constant Field Values
-
PrimitiveMotion
public static final long PrimitiveMotion
The intersection functions can query time, motion_start_time, motion_end_time and key_frame_count as described in the Metal Shading Language Guide. API-Since: 15.0- See Also:
- Constant Field Values
-
ExtendedLimits
public static final long ExtendedLimits
The intersection functions may be called from intersectors using the extended_limits intersection tag as described in the Metal Shading Language Guide. API-Since: 15.0- See Also:
- Constant Field Values
-
MaxLevels
public static final long MaxLevels
The intersection functions may be called from intersectors using the max_levels intersection tag as described in the Metal Shading Language Guide. API-Since: 17.0- See Also:
- Constant Field Values
-
CurveData
public static final long CurveData
The curve intersection functions can read the built-in curve_parameter as described in the Metal Shading Language Guide. API-Since: 17.0- See Also:
- Constant Field Values
-
-