Class MPSAccelerationStructureUsage
- java.lang.Object
-
- apple.metalperformanceshaders.enums.MPSAccelerationStructureUsage
-
@Deprecated public final class MPSAccelerationStructureUsage extends java.lang.ObjectDeprecated.Options describing how an acceleration structure will be used API-Since: 12.0 Deprecated-Since: 17.0
-
-
Field Summary
Fields Modifier and Type Field Description static longFrequentRebuildDeprecated.static longNoneDeprecated.static longPreferCPUBuildDeprecated.static longPreferGPUBuildDeprecated.static longRefitDeprecated.
-
-
-
Field Detail
-
None
@Deprecated public static final long None
Deprecated.No usage options specified API-Since: 12.0 Deprecated-Since: 17.0- See Also:
- Constant Field Values
-
Refit
@Deprecated public static final long Refit
Deprecated.Enable support for refitting the acceleration structure after it has been built. This option may reduce raytracing performance so do not use it unless the acceleration structure will be refit. API-Since: 12.0 Deprecated-Since: 17.0- See Also:
- Constant Field Values
-
FrequentRebuild
@Deprecated public static final long FrequentRebuild
Deprecated.Option indicating that the acceleration structure will be rebuilt frequently. In this case, the acceleration structure may choose a higher performance but lower quality acceleration structure construction algorithm. This option may reduce raytracing performance performance so do not use it unless reduced acceleration structure build time is worth reduced raytracing performance. This option may be useful if, for example, the user is interactively editing a live view of the scene. API-Since: 12.0 Deprecated-Since: 17.0- See Also:
- Constant Field Values
-
PreferGPUBuild
@Deprecated public static final long PreferGPUBuild
Deprecated.Prefer building the acceleration structure on the GPU. By default, the acceleration structure will be built on the GPU when possible. However, in some cases such as very small triangle counts, the acceleration structure may be built on the CPU. This option will force the acceleration structure to be always be built on the GPU whenever possible. API-Since: 13.0 Deprecated-Since: 17.0- See Also:
- Constant Field Values
-
PreferCPUBuild
@Deprecated public static final long PreferCPUBuild
Deprecated.Prefer building the acceleration structure on the CPU. By default, the acceleration structure will be built on the GPU when possible, which is typically much faster than building on the CPU. However, in some cases it may be preferable to build on the CPU such as to avoid framerate hitches when the GPU is rendering the user interface. API-Since: 13.0 Deprecated-Since: 17.0- See Also:
- Constant Field Values
-
-