Package org.robovm.apple.iosurface
Class IOSurface
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.iosurface.IOSurface
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class IOSurface extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIOSurface.IOSurfacePtrNested 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
Fields Modifier and Type Field Description static intsuccessCodeFields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description IOSurface()IOSurface(NSCoder coder)IOSurface(NSDictionary<?,?> properties)protectedIOSurface(NSObject.Handle h, long handle)protectedIOSurface(NSObject.SkipInit skipInit) -
Method Summary
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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Field Details
-
successCode
public static final int successCode- See Also:
- Constant Field Values
-
-
Constructor Details
-
IOSurface
public IOSurface() -
IOSurface
-
IOSurface
-
IOSurface
-
IOSurface
-
-
Method Details
-
getAllocationSize
public long getAllocationSize() -
getWidth
public long getWidth() -
getHeight
public long getHeight() -
getBaseAddress
-
getPixelFormat
public int getPixelFormat() -
getBytesPerRow
public long getBytesPerRow() -
getBytesPerElement
public long getBytesPerElement() -
getElementWidth
public long getElementWidth() -
getElementHeight
public long getElementHeight() -
getSeed
public int getSeed() -
getPlaneCount
public long getPlaneCount() -
isInUse
public boolean isInUse() -
getLocalUseCount
public int getLocalUseCount() -
setLocalUseCount
public void setLocalUseCount(int v) -
allowsPixelSizeCasting
public boolean allowsPixelSizeCasting() -
supportsSecureCoding
public static boolean supportsSecureCoding() -
iOSurfaceGetTypeID
public static long iOSurfaceGetTypeID()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceCreate
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceLookup
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetID
public int iOSurfaceGetID()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceLock
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceUnlock
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetAllocSize
public long iOSurfaceGetAllocSize()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetWidth
public long iOSurfaceGetWidth()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetHeight
public long iOSurfaceGetHeight()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBytesPerElement
public long iOSurfaceGetBytesPerElement()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBytesPerRow
public long iOSurfaceGetBytesPerRow()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBaseAddress
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetElementWidth
public long iOSurfaceGetElementWidth()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetElementHeight
public long iOSurfaceGetElementHeight()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetPixelFormat
public int iOSurfaceGetPixelFormat()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetSeed
public int iOSurfaceGetSeed()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetPlaneCount
public long iOSurfaceGetPlaneCount()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetWidthOfPlane
public long iOSurfaceGetWidthOfPlane(long planeIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetHeightOfPlane
public long iOSurfaceGetHeightOfPlane(long planeIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBytesPerElementOfPlane
public long iOSurfaceGetBytesPerElementOfPlane(long planeIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBytesPerRowOfPlane
public long iOSurfaceGetBytesPerRowOfPlane(long planeIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBaseAddressOfPlane
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetElementWidthOfPlane
public long iOSurfaceGetElementWidthOfPlane(long planeIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetElementHeightOfPlane
public long iOSurfaceGetElementHeightOfPlane(long planeIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetNumberOfComponentsOfPlane
public long iOSurfaceGetNumberOfComponentsOfPlane(long planeIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetNameOfComponentOfPlane
public IOSurfaceComponentName iOSurfaceGetNameOfComponentOfPlane(long planeIndex, long componentIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetTypeOfComponentOfPlane
public IOSurfaceComponentType iOSurfaceGetTypeOfComponentOfPlane(long planeIndex, long componentIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetRangeOfComponentOfPlane
public IOSurfaceComponentRange iOSurfaceGetRangeOfComponentOfPlane(long planeIndex, long componentIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBitDepthOfComponentOfPlane
public long iOSurfaceGetBitDepthOfComponentOfPlane(long planeIndex, long componentIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetBitOffsetOfComponentOfPlane
public long iOSurfaceGetBitOffsetOfComponentOfPlane(long planeIndex, long componentIndex)- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetSubsampling
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceSetValue
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceCopyValue
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceRemoveValue
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceSetValues
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceCopyAllValues
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceRemoveAllValues
public void iOSurfaceRemoveAllValues()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceCreateMachPort
public int iOSurfaceCreateMachPort()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceLookupFromMachPort
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetPropertyMaximum
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetPropertyAlignment
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceAlignProperty
- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceIncrementUseCount
public void iOSurfaceIncrementUseCount()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceDecrementUseCount
public void iOSurfaceDecrementUseCount()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceGetUseCount
public int iOSurfaceGetUseCount()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceIsInUse
public boolean iOSurfaceIsInUse()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceAllowsPixelSizeCasting
public boolean iOSurfaceAllowsPixelSizeCasting()- Since:
- Available in iOS 11.0 and later.
-
iOSurfaceSetPurgeable
- Since:
- Available in iOS 11.0 and later.
-
init
-
lock
-
unlock
-
widthOfPlaneAtIndex
public long widthOfPlaneAtIndex(long planeIndex) -
heightOfPlaneAtIndex
public long heightOfPlaneAtIndex(long planeIndex) -
bytesPerRowOfPlaneAtIndex
public long bytesPerRowOfPlaneAtIndex(long planeIndex) -
bytesPerElementOfPlaneAtIndex
public long bytesPerElementOfPlaneAtIndex(long planeIndex) -
elementWidthOfPlaneAtIndex
public long elementWidthOfPlaneAtIndex(long planeIndex) -
elementHeightOfPlaneAtIndex
public long elementHeightOfPlaneAtIndex(long planeIndex) -
baseAddressOfPlaneAtIndex
-
setAttachment
-
attachmentForKey
-
removeAttachmentForKey
-
setAllAttachments
-
allAttachments
-
removeAllAttachments
public void removeAllAttachments() -
incrementUseCount
public void incrementUseCount() -
decrementUseCount
public void decrementUseCount() -
setPurgeable
- Since:
- Available in iOS 11.0 and later.
-
encode
-
init
-