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
,org.robovm.objc.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 class
MPSImageArithmetic.MPSImageArithmeticPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSBinaryImageKernel
MPSBinaryImageKernel.MPSBinaryImageKernelPtr
-
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 MPSImageArithmetic()
MPSImageArithmetic(NSCoder decoder)
MPSImageArithmetic(NSCoder decoder, MTLDevice device)
protected
MPSImageArithmetic(NSObject.Handle h, long handle)
protected
MPSImageArithmetic(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBias()
float
getMaximumValue()
float
getMinimumValue()
float
getPrimaryScale()
MTLSize
getPrimaryStrideInPixels()
float
getSecondaryScale()
MTLSize
getSecondaryStrideInPixels()
void
setBias(float v)
void
setMaximumValue(float v)
void
setMinimumValue(float v)
void
setPrimaryScale(float v)
void
setPrimaryStrideInPixels(MTLSize v)
void
setSecondaryScale(float v)
void
setSecondaryStrideInPixels(MTLSize v)
-
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, setSecondaryOffset
-
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
-
MPSImageArithmetic
public MPSImageArithmetic()
-
MPSImageArithmetic
protected MPSImageArithmetic(NSObject.Handle h, long handle)
-
MPSImageArithmetic
protected MPSImageArithmetic(NSObject.SkipInit skipInit)
-
MPSImageArithmetic
public MPSImageArithmetic(NSCoder decoder, MTLDevice device)
- Since:
- Available in iOS 11.0 and later.
-
MPSImageArithmetic
public MPSImageArithmetic(NSCoder decoder)
-
-
Method Detail
-
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
public MTLSize getPrimaryStrideInPixels()
-
setPrimaryStrideInPixels
public void setPrimaryStrideInPixels(MTLSize v)
-
getSecondaryStrideInPixels
public MTLSize getSecondaryStrideInPixels()
-
setSecondaryStrideInPixels
public void setSecondaryStrideInPixels(MTLSize v)
-
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.
-
-