Package org.robovm.apple.metalps
Class MPSImageEDLines
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.MPSImageEDLines
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class MPSImageEDLines extends MPSKernel
- Since:
- Available in iOS 13.4 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSImageEDLines.MPSImageEDLinesPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description MPSImageEDLines()MPSImageEDLines(NSCoder coder)MPSImageEDLines(NSCoder decoder, MTLDevice device)protectedMPSImageEDLines(NSObject.Handle h, long handle)protectedMPSImageEDLines(NSObject.SkipInit skipInit)MPSImageEDLines(MTLDevice device)MPSImageEDLines(MTLDevice device, float gaussianSigma, short minLineLength, long maxLines, short detailRatio, float gradientThreshold, float lineErrorThreshold, float mergeLocalityThreshold) -
Method Summary
Modifier and Type Method Description voidencodeToCommandBuffer(MTLCommandBuffer commandBuffer, MTLTexture source, MTLTexture dest, MTLBuffer endpointBuffer, long endpointOffset)MTLRegiongetClipRectSource()shortgetDetailRatio()floatgetGaussianSigma()floatgetGradientThreshold()floatgetLineErrorThreshold()longgetMaxLines()floatgetMergeLocalityThreshold()shortgetMinLineLength()protected longinit(NSCoder decoder, MTLDevice device)protected longinit(MTLDevice device, float gaussianSigma, short minLineLength, long maxLines, short detailRatio, float gradientThreshold, float lineErrorThreshold, float mergeLocalityThreshold)voidsetClipRectSource(MTLRegion v)voidsetDetailRatio(short v)voidsetGradientThreshold(float v)voidsetLineErrorThreshold(float v)voidsetMaxLines(long v)voidsetMergeLocalityThreshold(float v)voidsetMinLineLength(short v)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, init, setLabel, setOptionsMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
MPSImageEDLines
public MPSImageEDLines() -
MPSImageEDLines
-
MPSImageEDLines
-
MPSImageEDLines
public MPSImageEDLines(MTLDevice device, float gaussianSigma, short minLineLength, long maxLines, short detailRatio, float gradientThreshold, float lineErrorThreshold, float mergeLocalityThreshold) -
MPSImageEDLines
-
MPSImageEDLines
-
MPSImageEDLines
-
-
Method Details
-
getClipRectSource
-
setClipRectSource
-
getGaussianSigma
public float getGaussianSigma() -
getMinLineLength
public short getMinLineLength() -
setMinLineLength
public void setMinLineLength(short v) -
getMaxLines
public long getMaxLines() -
setMaxLines
public void setMaxLines(long v) -
getDetailRatio
public short getDetailRatio() -
setDetailRatio
public void setDetailRatio(short v) -
getGradientThreshold
public float getGradientThreshold() -
setGradientThreshold
public void setGradientThreshold(float v) -
getLineErrorThreshold
public float getLineErrorThreshold() -
setLineErrorThreshold
public void setLineErrorThreshold(float v) -
getMergeLocalityThreshold
public float getMergeLocalityThreshold() -
setMergeLocalityThreshold
public void setMergeLocalityThreshold(float v) -
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
protected long init(MTLDevice device, float gaussianSigma, short minLineLength, long maxLines, short detailRatio, float gradientThreshold, float lineErrorThreshold, float mergeLocalityThreshold) -
init
-
encodeToCommandBuffer
public void encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MTLTexture source, MTLTexture dest, MTLBuffer endpointBuffer, long endpointOffset)
-