ThreadWaitType
public enum ThreadWaitType : Equatable, Hashable
A type indicating how the current thread should wait for work scheduled on the GPU to complete.
-
The thread does not wait for the work to complete. Useful when the output of the work is used with the GPU pipeline.
Declaration
Swift
case none
-
The thread waits until the work is complete.
Declaration
Swift
case passive
-
The thread waits for the work to complete with minimal latency, which may require additional CPU resources.
Declaration
Swift
case active
-
The thread waits for the work while trying to prevent the GPU from going into sleep mode.
Declaration
Swift
case aggressive