Package org.robovm.apple.metalps
Class MPSImageConvolution
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSKernel
-
- org.robovm.apple.metalps.MPSUnaryImageKernel
-
- org.robovm.apple.metalps.MPSImageConvolution
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class MPSImageConvolution extends MPSUnaryImageKernel
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSImageConvolution.MPSImageConvolutionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSUnaryImageKernel
MPSUnaryImageKernel.MPSUnaryImageKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MPSImageConvolution()
MPSImageConvolution(NSCoder decoder)
MPSImageConvolution(NSCoder aDecoder, MTLDevice device)
protected
MPSImageConvolution(NSObject.Handle h, long handle)
protected
MPSImageConvolution(NSObject.SkipInit skipInit)
MPSImageConvolution(MTLDevice device)
MPSImageConvolution(MTLDevice device, long kernelWidth, long kernelHeight, org.robovm.rt.bro.ptr.FloatPtr kernelWeights)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBias()
long
getKernelHeight()
long
getKernelWidth()
protected long
init(NSCoder aDecoder, MTLDevice device)
protected long
init(MTLDevice device, long kernelWidth, long kernelHeight, org.robovm.rt.bro.ptr.FloatPtr kernelWeights)
void
setBias(float v)
-
Methods inherited from class org.robovm.apple.metalps.MPSUnaryImageKernel
encode, encode, encode, getClipRect, getEdgeMode, getOffset, init, setClipRect, setEdgeMode, setOffset, sourceRegionForDestinationSize
-
Methods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, setLabel, setOptions, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
MPSImageConvolution
public MPSImageConvolution()
-
MPSImageConvolution
protected MPSImageConvolution(NSObject.Handle h, long handle)
-
MPSImageConvolution
protected MPSImageConvolution(NSObject.SkipInit skipInit)
-
MPSImageConvolution
public MPSImageConvolution(MTLDevice device, long kernelWidth, long kernelHeight, org.robovm.rt.bro.ptr.FloatPtr kernelWeights)
-
MPSImageConvolution
public MPSImageConvolution(NSCoder aDecoder, MTLDevice device)
- Since:
- Available in iOS 11.0 and later.
-
MPSImageConvolution
public MPSImageConvolution(MTLDevice device)
-
MPSImageConvolution
public MPSImageConvolution(NSCoder decoder)
-
-
Method Detail
-
getKernelHeight
public long getKernelHeight()
-
getKernelWidth
public long getKernelWidth()
-
getBias
public float getBias()
-
setBias
public void setBias(float v)
-
init
protected long init(MTLDevice device, long kernelWidth, long kernelHeight, org.robovm.rt.bro.ptr.FloatPtr kernelWeights)
-
init
protected long init(NSCoder aDecoder, MTLDevice device)
- Overrides:
init
in classMPSUnaryImageKernel
- Since:
- Available in iOS 11.0 and later.
-
-