Package apple.metal.enums
Class MTLHeapType
- java.lang.Object
-
- apple.metal.enums.MTLHeapType
-
public final class MTLHeapType extends java.lang.Object[@enum] MTLHeapType Describes the mode of operation for an MTLHeap. [@constant] MTLHeapTypeAutomatic In this mode, resources are placed in the heap automatically. Automatically placed resources have optimal GPU-specific layout, and may perform better than MTLHeapTypePlacement. This heap type is recommended when the heap primarily contains temporary write-often resources. [@constant] MTLHeapTypePlacement In this mode, the app places resources in the heap. Manually placed resources allow the app to control memory usage and heap fragmentation directly. This heap type is recommended when the heap primarily contains persistent write-rarely resources.
-
-
Field Detail
-
Automatic
public static final long Automatic
- See Also:
- Constant Field Values
-
Placement
public static final long Placement
- See Also:
- Constant Field Values
-
Sparse
public static final long Sparse
- See Also:
- Constant Field Values
-
-