public final class MTLFunctionType
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static long |
Fragment |
static long |
Intersection |
static long |
Kernel |
static long |
Vertex |
static long |
Visible |
public static final long Vertex
public static final long Fragment
public static final long Kernel
public static final long Visible
public static final long Intersection