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
,org.robovm.objc.ObjCProtocol
public final class MTLBlitCommandEncoder extends NSObject implements MTLCommandEncoder
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MTLBlitCommandEncoder.MTLBlitCommandEncoderPtr
-
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 Constructor Description MTLBlitCommandEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyFromBufferToBuffer(MTLBuffer sourceBuffer, long sourceOffset, MTLBuffer destinationBuffer, long destinationOffset, long size)
void
copyFromBufferToTexture(MTLBuffer sourceBuffer, long sourceOffset, long sourceBytesPerRow, long sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin)
void
copyFromBufferToTexture(MTLBuffer sourceBuffer, long sourceOffset, long sourceBytesPerRow, long sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin, MTLBlitOption options)
void
copyFromTextureToBuffer(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, long destinationOffset, long destinationBytesPerRow, long destinationBytesPerImage)
void
copyFromTextureToBuffer(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, long destinationOffset, long destinationBytesPerRow, long destinationBytesPerImage, MTLBlitOption options)
void
copyFromTextureToTexture(MTLTexture sourceTexture, long sourceSlice, long sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLTexture destinationTexture, long destinationSlice, long destinationLevel, MTLOrigin destinationOrigin)
void
copyIndirectCommandBuffer(MTLIndirectCommandBuffer source, NSRange sourceRange, MTLIndirectCommandBuffer destination, long destinationIndex)
void
endEncoding()
void
fillBuffer(MTLBuffer buffer, NSRange range, byte value)
void
generateMipmapsForTexture(MTLTexture texture)
MTLDevice
getDevice()
java.lang.String
getLabel()
void
insertDebugSignpost(java.lang.String string)
void
optimizeContentsForCPUAccess(MTLTexture texture)
void
optimizeContentsForCPUAccess(MTLTexture texture, long slice, long level)
void
optimizeContentsForGPUAccess(MTLTexture texture)
void
optimizeContentsForGPUAccess(MTLTexture texture, long slice, long level)
void
optimizeIndirectCommandBuffer(MTLIndirectCommandBuffer indirectCommandBuffer, NSRange range)
void
popDebugGroup()
void
pushDebugGroup(java.lang.String string)
void
resetCommandsInBuffer(MTLIndirectCommandBuffer buffer, NSRange range)
void
setLabel(java.lang.String v)
void
updateFence(MTLFence fence)
void
waitForFence(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, willChangeValues
-
-
-
-
Method Detail
-
getDevice
public MTLDevice getDevice()
- Specified by:
getDevice
in interfaceMTLCommandEncoder
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interfaceMTLCommandEncoder
-
setLabel
public void setLabel(java.lang.String v)
- Specified by:
setLabel
in 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
public void generateMipmapsForTexture(MTLTexture texture)
-
copyFromBufferToBuffer
public void copyFromBufferToBuffer(MTLBuffer sourceBuffer, long sourceOffset, MTLBuffer destinationBuffer, long destinationOffset, long size)
-
updateFence
public void updateFence(MTLFence fence)
- Since:
- Available in iOS 10.0 and later.
-
waitForFence
public void waitForFence(MTLFence fence)
- Since:
- Available in iOS 10.0 and later.
-
optimizeContentsForGPUAccess
public void optimizeContentsForGPUAccess(MTLTexture texture)
- Since:
- Available in iOS 12.0 and later.
-
optimizeContentsForGPUAccess
public void optimizeContentsForGPUAccess(MTLTexture texture, long slice, long level)
- Since:
- Available in iOS 12.0 and later.
-
optimizeContentsForCPUAccess
public void optimizeContentsForCPUAccess(MTLTexture texture)
- Since:
- Available in iOS 12.0 and later.
-
optimizeContentsForCPUAccess
public void optimizeContentsForCPUAccess(MTLTexture texture, long slice, long level)
- Since:
- Available in iOS 12.0 and later.
-
resetCommandsInBuffer
public void resetCommandsInBuffer(MTLIndirectCommandBuffer buffer, NSRange range)
- 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.
-
endEncoding
public void endEncoding()
- Specified by:
endEncoding
in interfaceMTLCommandEncoder
-
insertDebugSignpost
public void insertDebugSignpost(java.lang.String string)
- Specified by:
insertDebugSignpost
in interfaceMTLCommandEncoder
-
pushDebugGroup
public void pushDebugGroup(java.lang.String string)
- Specified by:
pushDebugGroup
in interfaceMTLCommandEncoder
-
popDebugGroup
public void popDebugGroup()
- Specified by:
popDebugGroup
in interfaceMTLCommandEncoder
-
-