Encodes a command that blocks the execution of the command buffer until the given event reaches the given value.
Required.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
Framework
- Metal
Declaration
- (void)encodeWaitForEvent:(id<MTLEvent>)event value:(uint64_t)value;