Package apple.metal.protocol
Interface MTLIOCommandQueue
-
public interface MTLIOCommandQueue[@protocol] MTLIOCommandQueue Represents a queue that schedules command buffers containing command that read from handle objects and write to MTLResource objects. API-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull MTLIOCommandBuffercommandBuffer()commandBuffer Vends an autoreleased commandBuffer that can be used to encode commands that read from handle objects and write to MTLResource objects.@NotNull MTLIOCommandBuffercommandBufferWithUnretainedReferences()commandBufferWithUnretainedReferences Vends an autoreleased commandBuffer that can be used to encode commands that read from handle objects and write to MTLResource objects.voidenqueueBarrier()enqueueBarrier Inserts a barrier that ensures that all commandBuffers commited prior are completed before any commandBuffers after start execution.@Nullable java.lang.Stringlabel()[@property] label An optional label for this handle.voidsetLabel(@Nullable java.lang.String value)[@property] label An optional label for this handle.
-
-
-
Method Detail
-
commandBuffer
@NotNull @NotNull MTLIOCommandBuffer commandBuffer()
commandBuffer Vends an autoreleased commandBuffer that can be used to encode commands that read from handle objects and write to MTLResource objects.
-
commandBufferWithUnretainedReferences
@NotNull @NotNull MTLIOCommandBuffer commandBufferWithUnretainedReferences()
commandBufferWithUnretainedReferences Vends an autoreleased commandBuffer that can be used to encode commands that read from handle objects and write to MTLResource objects. This commandBuffer does not retain objects referenced by the commandBuffer as an optimization. For correct execution its the application's responsibility to retain objects referenced by commands within the commandBuffer.
-
enqueueBarrier
void enqueueBarrier()
enqueueBarrier Inserts a barrier that ensures that all commandBuffers commited prior are completed before any commandBuffers after start execution. A serial commandQueue has implicit barriers between each commandBuffer.
-
label
@Nullable @Nullable java.lang.String label()
[@property] label An optional label for this handle.
-
setLabel
void setLabel(@Nullable @Nullable java.lang.String value)[@property] label An optional label for this handle.
-
-