Package org.robovm.apple.metalps
Class MPSImageDescriptor
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSImageDescriptor
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class MPSImageDescriptor extends NSObject
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSImageDescriptor.MPSImageDescriptorPtr
-
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 MPSImageDescriptor()
protected
MPSImageDescriptor(NSObject.Handle h, long handle)
protected
MPSImageDescriptor(NSObject.SkipInit skipInit)
MPSImageDescriptor(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels)
MPSImageDescriptor(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels, long numberOfImages, MTLTextureUsage usage)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MPSImageDescriptor
copy(NSZone zone)
protected static long
create(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels)
protected static long
create(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels, long numberOfImages, MTLTextureUsage usage)
MPSImageFeatureChannelFormat
getChannelFormat()
MTLCPUCacheMode
getCpuCacheMode()
long
getFeatureChannels()
long
getHeight()
long
getNumberOfImages()
MTLPixelFormat
getPixelFormat()
MTLStorageMode
getStorageMode()
MTLTextureUsage
getUsage()
long
getWidth()
void
setChannelFormat(MPSImageFeatureChannelFormat v)
void
setCpuCacheMode(MTLCPUCacheMode v)
void
setFeatureChannels(long v)
void
setHeight(long v)
void
setNumberOfImages(long v)
void
setStorageMode(MTLStorageMode v)
void
setUsage(MTLTextureUsage v)
void
setWidth(long v)
-
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
-
MPSImageDescriptor
public MPSImageDescriptor()
-
MPSImageDescriptor
protected MPSImageDescriptor(NSObject.Handle h, long handle)
-
MPSImageDescriptor
protected MPSImageDescriptor(NSObject.SkipInit skipInit)
-
MPSImageDescriptor
public MPSImageDescriptor(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels)
-
MPSImageDescriptor
public MPSImageDescriptor(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels, long numberOfImages, MTLTextureUsage usage)
-
-
Method Detail
-
getWidth
public long getWidth()
-
setWidth
public void setWidth(long v)
-
getHeight
public long getHeight()
-
setHeight
public void setHeight(long v)
-
getFeatureChannels
public long getFeatureChannels()
-
setFeatureChannels
public void setFeatureChannels(long v)
-
getNumberOfImages
public long getNumberOfImages()
-
setNumberOfImages
public void setNumberOfImages(long v)
-
getPixelFormat
public MTLPixelFormat getPixelFormat()
-
getChannelFormat
public MPSImageFeatureChannelFormat getChannelFormat()
-
setChannelFormat
public void setChannelFormat(MPSImageFeatureChannelFormat v)
-
getCpuCacheMode
public MTLCPUCacheMode getCpuCacheMode()
-
setCpuCacheMode
public void setCpuCacheMode(MTLCPUCacheMode v)
-
getStorageMode
public MTLStorageMode getStorageMode()
-
setStorageMode
public void setStorageMode(MTLStorageMode v)
-
getUsage
public MTLTextureUsage getUsage()
-
setUsage
public void setUsage(MTLTextureUsage v)
-
copy
public MPSImageDescriptor copy(NSZone zone)
- Since:
- Available in iOS 12.0 and later.
-
create
protected static long create(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels)
-
create
protected static long create(MPSImageFeatureChannelFormat channelFormat, long width, long height, long featureChannels, long numberOfImages, MTLTextureUsage usage)
-
-