Package org.robovm.apple.metal
Class MTLComputeCommandEncoder
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.metal.MTLComputeCommandEncoder
- All Implemented Interfaces:
NSObjectProtocol,MTLCommandEncoder,ObjCProtocol
public final class MTLComputeCommandEncoder extends NSObject implements MTLCommandEncoder
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMTLComputeCommandEncoder.MTLComputeCommandEncoderPtrNested 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 inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Constructor Description MTLComputeCommandEncoder() -
Method Summary
Modifier and Type Method Description voiddispatchThread(MTLSize threadsPerGrid, MTLSize threadsPerThreadgroup)voiddispatchThreadgroups(long width, long height)voiddispatchThreadgroups(MTLBuffer indirectBuffer, long indirectBufferOffset, MTLSize threadsPerThreadgroup)voiddispatchThreadgroups(MTLSize threadgroupsPerGrid, MTLSize threadsPerThreadgroup)voidendEncoding()voidexecuteCommandsInBuffer(MTLIndirectCommandBuffer indirectCommandBuffer, NSRange executionRange)voidexecuteCommandsInBuffer(MTLIndirectCommandBuffer indirectCommandbuffer, MTLBuffer indirectRangeBuffer, long indirectBufferOffset)MTLDevicegetDevice()MTLDispatchTypegetDispatchType()StringgetLabel()voidinsertDebugSignpost(String string)voidmemoryBarrier(MTLBarrierScope scope)voidmemoryBarrier(MTLResource resources, long count)voidpopDebugGroup()voidpushDebugGroup(String string)voidsampleCountersInBuffer(MTLCounterSampleBuffer sampleBuffer, long sampleIndex, boolean barrier)voidsetAccelerationStructure(MTLAccelerationStructure accelerationStructure, long bufferIndex)voidsetBuffer(MTLBuffer buffer, long offset, long index)voidsetBufferOffset(long offset, long index)voidsetBuffers(MTLBuffer[] buffers, long[] offsets, NSRange range)protected voidsetBuffers(MTLBuffer.MTLBufferPtr buffers, MachineSizedUIntPtr offsets, NSRange range)voidsetBytes(byte[] bytes, long index)protected voidsetBytes(long bytes, long length, long index)voidsetComputePipelineState(MTLComputePipelineState state)voidsetIntersectionFunctionTable(MTLIntersectionFunctionTable intersectionFunctionTable, long bufferIndex)voidsetIntersectionFunctionTables(MTLIntersectionFunctionTable intersectionFunctionTables, NSRange range)voidsetLabel(String v)voidsetSamplerState(MTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, long index)voidsetSamplerState(MTLSamplerState sampler, long index)voidsetSamplerStates(MTLSamplerState[] samplers, float[] lodMinClamps, float[] lodMaxClamps, NSRange range)voidsetSamplerStates(MTLSamplerState[] samplers, NSRange range)protected voidsetSamplerStates(MTLSamplerState.MTLSamplerStatePtr samplers, NSRange range)protected voidsetSamplerStates(MTLSamplerState.MTLSamplerStatePtr samplers, FloatPtr lodMinClamps, FloatPtr lodMaxClamps, NSRange range)voidsetStageInRegion(MTLBuffer indirectBuffer, long indirectBufferOffset)voidsetStageInRegion(MTLRegion region)voidsetTexture(MTLTexture texture, long index)voidsetTextures(MTLTexture[] textures, NSRange range)protected voidsetTextures(MTLTexture.MTLTexturePtr textures, NSRange range)voidsetThreadgroupMemoryLength(long length, long index)voidsetVisibleFunctionTable(MTLVisibleFunctionTable visibleFunctionTable, long bufferIndex)voidsetVisibleFunctionTables(MTLVisibleFunctionTable visibleFunctionTables, NSRange range)voidupdateFence(MTLFence fence)voiduseHeap(MTLHeap heap)voiduseHeaps(MTLHeap heaps, long count)voiduseResource(MTLResource resource, MTLResourceUsage usage)voiduseResources(MTLResource resources, long count, MTLResourceUsage usage)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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
MTLComputeCommandEncoder
public MTLComputeCommandEncoder()
-
-
Method Details
-
getDispatchType
- Since:
- Available in iOS 12.0 and later.
-
getDevice
- Specified by:
getDevicein interfaceMTLCommandEncoder
-
getLabel
- Specified by:
getLabelin interfaceMTLCommandEncoder
-
setLabel
- Specified by:
setLabelin interfaceMTLCommandEncoder
-
setBytes
public void setBytes(byte[] bytes, long index)- Since:
- Available in iOS 8.3 and later.
-
setBuffers
-
setTextures
-
setSamplerStates
-
setSamplerStates
public void setSamplerStates(MTLSamplerState[] samplers, float[] lodMinClamps, float[] lodMaxClamps, NSRange range) -
setComputePipelineState
-
setBytes
protected void setBytes(long bytes, long length, long index)- Since:
- Available in iOS 8.3 and later.
-
setBuffer
-
setBufferOffset
public void setBufferOffset(long offset, long index)- Since:
- Available in iOS 8.3 and later.
-
setBuffers
protected void setBuffers(MTLBuffer.MTLBufferPtr buffers, MachineSizedUIntPtr offsets, NSRange range) -
setVisibleFunctionTable
public void setVisibleFunctionTable(MTLVisibleFunctionTable visibleFunctionTable, long bufferIndex)- Since:
- Available in iOS 14.0 and later.
-
setVisibleFunctionTables
- Since:
- Available in iOS 14.0 and later.
-
setIntersectionFunctionTable
public void setIntersectionFunctionTable(MTLIntersectionFunctionTable intersectionFunctionTable, long bufferIndex)- Since:
- Available in iOS 14.0 and later.
-
setIntersectionFunctionTables
public void setIntersectionFunctionTables(MTLIntersectionFunctionTable intersectionFunctionTables, NSRange range)- Since:
- Available in iOS 14.0 and later.
-
setAccelerationStructure
public void setAccelerationStructure(MTLAccelerationStructure accelerationStructure, long bufferIndex)- Since:
- Available in iOS 14.0 and later.
-
setTexture
-
setTextures
-
setSamplerState
-
setSamplerStates
-
setSamplerState
public void setSamplerState(MTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, long index) -
setSamplerStates
protected void setSamplerStates(MTLSamplerState.MTLSamplerStatePtr samplers, FloatPtr lodMinClamps, FloatPtr lodMaxClamps, NSRange range) -
setThreadgroupMemoryLength
public void setThreadgroupMemoryLength(long length, long index) -
dispatchThreadgroups
public void dispatchThreadgroups(long width, long height)- Since:
- Available in iOS 11.0 and later.
-
setStageInRegion
- Since:
- Available in iOS 10.0 and later.
-
setStageInRegion
- Since:
- Available in iOS 12.0 and later.
-
dispatchThreadgroups
-
dispatchThreadgroups
public void dispatchThreadgroups(MTLBuffer indirectBuffer, long indirectBufferOffset, MTLSize threadsPerThreadgroup)- Since:
- Available in iOS 9.0 and later.
-
dispatchThread
- Since:
- Available in iOS 11.0 and later.
-
updateFence
- Since:
- Available in iOS 10.0 and later.
-
waitForFence
- Since:
- Available in iOS 10.0 and later.
-
useResource
- Since:
- Available in iOS 11.0 and later.
-
useResources
- Since:
- Available in iOS 11.0 and later.
-
useHeap
- Since:
- Available in iOS 11.0 and later.
-
useHeaps
- Since:
- Available in iOS 11.0 and later.
-
executeCommandsInBuffer
public void executeCommandsInBuffer(MTLIndirectCommandBuffer indirectCommandBuffer, NSRange executionRange)- Since:
- Available in iOS 13.0 and later.
-
executeCommandsInBuffer
public void executeCommandsInBuffer(MTLIndirectCommandBuffer indirectCommandbuffer, MTLBuffer indirectRangeBuffer, long indirectBufferOffset)- Since:
- Available in iOS 13.0 and later.
-
memoryBarrier
- Since:
- Available in iOS 12.0 and later.
-
memoryBarrier
- 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.
-
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
-