IMLCustomLayer.Encode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets outputs by applying inputs to the function described by commandBuffer.
[Foundation.Export("encodeToCommandBuffer:inputs:outputs:error:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Encode(Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture[] inputs, Metal.IMTLTexture[] outputs, out Foundation.NSError? error);
[<Foundation.Export("encodeToCommandBuffer:inputs:outputs:error:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Encode : Metal.IMTLCommandBuffer * Metal.IMTLTexture[] * Metal.IMTLTexture[] * NSError -> bool
override this.Encode : Metal.IMTLCommandBuffer * Metal.IMTLTexture[] * Metal.IMTLTexture[] * NSError -> bool
Parameters
- commandBuffer
- IMTLCommandBuffer
- inputs
- IMTLTexture[]
- outputs
- IMTLTexture[]
- error
- NSError
Returns
- Attributes