public final class MTLIntersectionFunctionSignature
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
ExtendedLimits
The intersection functions may be called from intersectors using the
extended_limits intersection tag as described in the Metal Shading Language Guide.
|
static long |
InstanceMotion
The intersection functions may be called from intersectors using the
instance_motion intersection tag as described in the Metal Shading Language Guide.
|
static long |
Instancing
The intersection functions are entitled to read the built-in instance_id as described in
the Metal Shading Language Guide.
|
static long |
None
No signature
|
static long |
PrimitiveMotion
The intersection functions are entitled to query time, motion_start_time,
motion_end_time and key_frame_count as described in the Metal Shading Language Guide.
|
static long |
TriangleData
The triangle intersection functions are entitled to to read the built-in barycentric_coord
and front_facing as described in the Metal Shading Language Guide.
|
static long |
WorldSpaceData
The intersection functions are entitled to query world_space_origin and
world_space_direction as described in the Metal Shading Language Guide.
|
public static final long None
public static final long Instancing
public static final long TriangleData
public static final long WorldSpaceData
public static final long InstanceMotion
public static final long PrimitiveMotion
public static final long ExtendedLimits