Encodes a command that signals the given event with the given value.
Required.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
Framework
- Metal
Declaration
- (void)encodeSignalEvent:(id<MTLEvent>)event value:(uint64_t)value;
Discussion
You can't encode a signal event if the command buffer has an active command encoder.