Share via


IMPSNNLossCallback Interface

Definition

This interface represents the Objective-C protocol MPSNNLossCallback.

[Foundation.Protocol(Name="MPSNNLossCallback", WrapperType=typeof(MetalPerformanceShaders.MPSNNLossCallbackWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetScalarWeight", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSImage), typeof(MetalPerformanceShaders.MPSImage) }, ReturnType=typeof(System.Single), Selector="scalarWeightForSourceImage:destinationImage:")]
public interface IMPSNNLossCallback : Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
[<Foundation.Protocol(Name="MPSNNLossCallback", WrapperType=typeof(MetalPerformanceShaders.MPSNNLossCallbackWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetScalarWeight", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSImage), typeof(MetalPerformanceShaders.MPSImage) }, ReturnType=typeof(System.Single), Selector="scalarWeightForSourceImage:destinationImage:")>]
type IMPSNNLossCallback = interface
    interface INativeObject
    interface IDisposable
    interface INSCoding
    interface INSCopying
    interface INSSecureCoding
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
Copy(NSZone)

Performs a copy of the underlying Objective-C object.

(Inherited from INSCopying)
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

(Inherited from INSCoding)
GetScalarWeight(MPSImage, MPSImage)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to