Package org.robovm.apple.metal
Class MTLBlitCommandEncoder
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.metal.MTLBlitCommandEncoder
- All Implemented Interfaces:
NSObjectProtocol,MTLCommandEncoder,ObjCProtocol
public final class MTLBlitCommandEncoder extends NSObject implements MTLCommandEncoder
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMTLBlitCommandEncoder.MTLBlitCommandEncoderPtrNested 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 Constructor Description MTLBlitCommandEncoder() -
Method Summary
Modifier and Type Method Description voidcopyFromBufferToBuffer(MTLBuffer sourceBuffer, long sourceOffset, MTLBuffer destinationBuffer, long destinationOffset, long size)voidcopyFromBufferToTexture(MTLBuffer sourceBuffer, long sourceOffset, long sourceBytesPerRow, long sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin)voidcopyFromBufferToTexture(MTLBuffer sourceBuffer, long sourceOffset, long sourceBytesPerRow, long sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin, MTLBlitOption options)voidcopyFromTextureToBuffer(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, long destinationOffset, long destinationBytesPerRow, long destinationBytesPerImage)voidcopyFromTextureToBuffer(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, long destinationOffset, long destinationBytesPerRow, long destinationBytesPerImage, MTLBlitOption options)voidcopyFromTextureToTexture(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin)voidcopyFromTextureToTexture(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, long sliceCount, long levelCount)voidcopyFromTextureToTexture(MTLTexture sourceTexture, MTLTexture destinationTexture)voidcopyIndirectCommandBuffer(MTLIndirectCommandBuffer source, NSRange sourceRange, MTLIndirectCommandBuffer destination, long destinationIndex)voidendEncoding()voidfillBuffer(MTLBuffer buffer, NSRange range, byte value)voidgenerateMipmapsForTexture(MTLTexture texture)MTLDevicegetDevice()StringgetLabel()voidgetTextureAccessCounters(MTLTexture texture, MTLRegion region, long mipLevel, long slice, boolean resetCounters, MTLBuffer countersBuffer, long countersBufferOffset)voidinsertDebugSignpost(String string)voidoptimizeContentsForCPUAccess(MTLTexture texture)voidoptimizeContentsForCPUAccess(MTLTexture texture, long slice, long level)voidoptimizeContentsForGPUAccess(MTLTexture texture)voidoptimizeContentsForGPUAccess(MTLTexture texture, long slice, long level)voidoptimizeIndirectCommandBuffer(MTLIndirectCommandBuffer indirectCommandBuffer, NSRange range)voidpopDebugGroup()voidpushDebugGroup(String string)voidresetCommandsInBuffer(MTLIndirectCommandBuffer buffer, NSRange range)voidresetTextureAccessCounters(MTLTexture texture, MTLRegion region, long mipLevel, long slice)voidresolveCounters(MTLCounterSampleBuffer sampleBuffer, NSRange range, MTLBuffer destinationBuffer, long destinationOffset)voidsampleCountersInBuffer(MTLCounterSampleBuffer sampleBuffer, long sampleIndex, boolean barrier)voidsetLabel(String v)voidupdateFence(MTLFence fence)voidwaitForFence(MTLFence fence)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, updateStrongRef
-
Constructor Details
-
MTLBlitCommandEncoder
public MTLBlitCommandEncoder()
-
-
Method Details
-
getDevice
- Specified by:
getDevicein interfaceMTLCommandEncoder
-
getLabel
- Specified by:
getLabelin interfaceMTLCommandEncoder
-
setLabel
- Specified by:
setLabelin interfaceMTLCommandEncoder
-
copyFromTextureToTexture
public void copyFromTextureToTexture(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin) -
copyFromBufferToTexture
public void copyFromBufferToTexture(MTLBuffer sourceBuffer, long sourceOffset, long sourceBytesPerRow, long sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin) -
copyFromBufferToTexture
public void copyFromBufferToTexture(MTLBuffer sourceBuffer, long sourceOffset, long sourceBytesPerRow, long sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin, MTLBlitOption options)- Since:
- Available in iOS 9.0 and later.
-
copyFromTextureToBuffer
public void copyFromTextureToBuffer(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, long destinationOffset, long destinationBytesPerRow, long destinationBytesPerImage) -
copyFromTextureToBuffer
public void copyFromTextureToBuffer(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, long destinationOffset, long destinationBytesPerRow, long destinationBytesPerImage, MTLBlitOption options)- Since:
- Available in iOS 9.0 and later.
-
generateMipmapsForTexture
-
fillBuffer
-
copyFromTextureToTexture
public void copyFromTextureToTexture(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, long sliceCount, long levelCount)- Since:
- Available in iOS 13.0 and later.
-
copyFromTextureToTexture
- Since:
- Available in iOS 13.0 and later.
-
copyFromBufferToBuffer
-
updateFence
- Since:
- Available in iOS 10.0 and later.
-
waitForFence
- Since:
- Available in iOS 10.0 and later.
-
getTextureAccessCounters
public void getTextureAccessCounters(MTLTexture texture, MTLRegion region, long mipLevel, long slice, boolean resetCounters, MTLBuffer countersBuffer, long countersBufferOffset)- Since:
- Available in iOS 13.0 and later.
-
resetTextureAccessCounters
public void resetTextureAccessCounters(MTLTexture texture, MTLRegion region, long mipLevel, long slice)- Since:
- Available in iOS 13.0 and later.
-
optimizeContentsForGPUAccess
- Since:
- Available in iOS 12.0 and later.
-
optimizeContentsForGPUAccess
- Since:
- Available in iOS 12.0 and later.
-
optimizeContentsForCPUAccess
- Since:
- Available in iOS 12.0 and later.
-
optimizeContentsForCPUAccess
- Since:
- Available in iOS 12.0 and later.
-
resetCommandsInBuffer
- Since:
- Available in iOS 12.0 and later.
-
copyIndirectCommandBuffer
public void copyIndirectCommandBuffer(MTLIndirectCommandBuffer source, NSRange sourceRange, MTLIndirectCommandBuffer destination, long destinationIndex)- Since:
- Available in iOS 12.0 and later.
-
optimizeIndirectCommandBuffer
public void optimizeIndirectCommandBuffer(MTLIndirectCommandBuffer indirectCommandBuffer, NSRange range)- Since:
- Available in iOS 12.0 and later.
-
sampleCountersInBuffer
public void sampleCountersInBuffer(MTLCounterSampleBuffer sampleBuffer, long sampleIndex, boolean barrier)- Since:
- Available in iOS 14.0 and later.
-
resolveCounters
public void resolveCounters(MTLCounterSampleBuffer sampleBuffer, NSRange range, MTLBuffer destinationBuffer, long destinationOffset)- Since:
- Available in iOS 14.0 and later.
-
endEncoding
public void endEncoding()- Specified by:
endEncodingin interfaceMTLCommandEncoder
-
insertDebugSignpost
- Specified by:
insertDebugSignpostin interfaceMTLCommandEncoder
-
pushDebugGroup
- Specified by:
pushDebugGroupin interfaceMTLCommandEncoder
-
popDebugGroup
public void popDebugGroup()- Specified by:
popDebugGroupin interfaceMTLCommandEncoder
-