Package org.robovm.apple.metalps
Class MPSImageArithmetic
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.MPSBinaryImageKernel
org.robovm.apple.metalps.MPSImageArithmetic
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
- Direct Known Subclasses:
MPSImageAdd,MPSImageDivide,MPSImageMultiply,MPSImageSubtract
public class MPSImageArithmetic extends MPSBinaryImageKernel
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSImageArithmetic.MPSImageArithmeticPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSBinaryImageKernel
MPSBinaryImageKernel.MPSBinaryImageKernelPtrNested 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 MPSImageArithmetic()MPSImageArithmetic(NSCoder coder)MPSImageArithmetic(NSCoder decoder, MTLDevice device)protectedMPSImageArithmetic(NSObject.Handle h, long handle)protectedMPSImageArithmetic(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description floatgetBias()floatgetMaximumValue()floatgetMinimumValue()floatgetPrimaryScale()MTLSizegetPrimaryStrideInPixels()floatgetSecondaryScale()MTLSizegetSecondaryStrideInPixels()voidsetBias(float v)voidsetMaximumValue(float v)voidsetMinimumValue(float v)voidsetPrimaryScale(float v)voidsetPrimaryStrideInPixels(MTLSize v)voidsetSecondaryScale(float v)voidsetSecondaryStrideInPixels(MTLSize v)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.metalps.MPSBinaryImageKernel
encode, encode, encodePrimaryTexture, encodeSecondaryTexture, getClipRect, getPrimaryEdgeMode, getPrimaryOffset, getSecondaryEdgeMode, getSecondaryOffset, init, init, primarySourceRegionForDestinationSize, secondarySourceRegionForDestinationSize, setClipRect, setPrimaryEdgeMode, setPrimaryOffset, setSecondaryEdgeMode, setSecondaryOffsetMethods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, 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
-
MPSImageArithmetic
public MPSImageArithmetic() -
MPSImageArithmetic
-
MPSImageArithmetic
-
MPSImageArithmetic
- Since:
- Available in iOS 11.0 and later.
-
MPSImageArithmetic
-
-
Method Details
-
getPrimaryScale
public float getPrimaryScale() -
setPrimaryScale
public void setPrimaryScale(float v) -
getSecondaryScale
public float getSecondaryScale() -
setSecondaryScale
public void setSecondaryScale(float v) -
getBias
public float getBias() -
setBias
public void setBias(float v) -
getPrimaryStrideInPixels
-
setPrimaryStrideInPixels
-
getSecondaryStrideInPixels
-
setSecondaryStrideInPixels
-
getMinimumValue
public float getMinimumValue()- Since:
- Available in iOS 11.3 and later.
-
setMinimumValue
public void setMinimumValue(float v)- Since:
- Available in iOS 11.3 and later.
-
getMaximumValue
public float getMaximumValue()- Since:
- Available in iOS 11.3 and later.
-
setMaximumValue
public void setMaximumValue(float v)- Since:
- Available in iOS 11.3 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-