Class MPSRayMaskOperator
- java.lang.Object
-
- apple.metalperformanceshaders.enums.MPSRayMaskOperator
-
public final class MPSRayMaskOperator extends java.lang.ObjectOptions for the MPSRayIntersector ray mask operator property
-
-
Field Summary
Fields Modifier and Type Field Description static longAndAccept the intersection if (primitive mask & ray mask) !static longEqualAccept the intersection if primitive mask == ray mask.static longGreaterThanAccept the intersection if primitive mask > ray mask.static longGreaterThanOrEqualToAccept the intersection if primitive mask >= ray mask.static longLessThanAccept the intersection if primitive mask < ray mask.static longLessThanOrEqualToAccept the intersection if primitive mask <= ray mask.static longNotAndAccept the intersection if ~(primitive mask & ray mask) !static longNotEqualAccept the intersection if primitive mask !static longNotOrAccept the intersection if ~(primitive mask | ray mask) !static longNotXorAccept the intersection if ~(primitive mask ^ ray mask) !static longOrAccept the intersection if (primitive mask | ray mask) !static longXorAccept the intersection if (primitive mask ^ ray mask) !
-
-
-
Field Detail
-
And
public static final long And
Accept the intersection if (primitive mask & ray mask) != 0.- See Also:
- Constant Field Values
-
NotAnd
public static final long NotAnd
Accept the intersection if ~(primitive mask & ray mask) != 0.- See Also:
- Constant Field Values
-
Or
public static final long Or
Accept the intersection if (primitive mask | ray mask) != 0.- See Also:
- Constant Field Values
-
NotOr
public static final long NotOr
Accept the intersection if ~(primitive mask | ray mask) != 0.- See Also:
- Constant Field Values
-
Xor
public static final long Xor
Accept the intersection if (primitive mask ^ ray mask) != 0.- See Also:
- Constant Field Values
-
NotXor
public static final long NotXor
Accept the intersection if ~(primitive mask ^ ray mask) != 0.- See Also:
- Constant Field Values
-
LessThan
public static final long LessThan
Accept the intersection if primitive mask < ray mask.- See Also:
- Constant Field Values
-
LessThanOrEqualTo
public static final long LessThanOrEqualTo
Accept the intersection if primitive mask <= ray mask.- See Also:
- Constant Field Values
-
GreaterThan
public static final long GreaterThan
Accept the intersection if primitive mask > ray mask.- See Also:
- Constant Field Values
-
GreaterThanOrEqualTo
public static final long GreaterThanOrEqualTo
Accept the intersection if primitive mask >= ray mask.- See Also:
- Constant Field Values
-
Equal
public static final long Equal
Accept the intersection if primitive mask == ray mask.- See Also:
- Constant Field Values
-
NotEqual
public static final long NotEqual
Accept the intersection if primitive mask != ray mask.- See Also:
- Constant Field Values
-
-