Package apple.metal.enums
Class MTLFunctionType
- java.lang.Object
-
- apple.metal.enums.MTLFunctionType
-
public final class MTLFunctionType extends java.lang.Object[@enum] MTLFunctionType An identifier for a top-level Metal function. Each location in the API where a program is used requires a function written for that specific usage. [@constant] MTLFunctionTypeVertex A vertex shader, usable for a MTLRenderPipelineState. [@constant] MTLFunctionTypeFragment A fragment shader, usable for a MTLRenderPipelineState. [@constant] MTLFunctionTypeKernel A compute kernel, usable to create a MTLComputePipelineState.
-
-
Field Summary
Fields Modifier and Type Field Description static longFragmentstatic longIntersectionstatic longKernelstatic longVertexstatic longVisible
-
-
-
Field Detail
-
Vertex
public static final long Vertex
- See Also:
- Constant Field Values
-
Fragment
public static final long Fragment
- See Also:
- Constant Field Values
-
Kernel
public static final long Kernel
- See Also:
- Constant Field Values
-
Visible
public static final long Visible
- See Also:
- Constant Field Values
-
Intersection
public static final long Intersection
- See Also:
- Constant Field Values
-
-