Package apple.metal.protocol
Interface MTLCommandEncoder
-
- All Known Subinterfaces:
MTLAccelerationStructureCommandEncoder,MTLBlitCommandEncoder,MTLComputeCommandEncoder,MTLParallelRenderCommandEncoder,MTLRenderCommandEncoder,MTLResourceStateCommandEncoder
public interface MTLCommandEncoder[@protocol] MTLCommandEncoder MTLCommandEncoder is the common interface for objects that write commands into MTLCommandBuffers. API-Since: 8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull MTLDevicedevice()[@property] device The device this resource was created against.voidendEncoding()endEncoding Declare that all command generation from this encoder is complete, and detach from the MTLCommandBuffer.voidinsertDebugSignpost(@NotNull java.lang.String string)insertDebugSignpost: Inserts a debug string into the command buffer.@Nullable java.lang.Stringlabel()[@property] label A string to help identify this object.voidpopDebugGroup()popDebugGroup Pop the latest named string off of the stack.voidpushDebugGroup(@NotNull java.lang.String string)pushDebugGroup: Push a new named string onto a stack of string labels.voidsetLabel(@Nullable java.lang.String value)[@property] label A string to help identify this object.
-
-
-
Method Detail
-
device
@NotNull @NotNull MTLDevice device()
[@property] device The device this resource was created against.
-
endEncoding
void endEncoding()
endEncoding Declare that all command generation from this encoder is complete, and detach from the MTLCommandBuffer.
-
insertDebugSignpost
void insertDebugSignpost(@NotNull @NotNull java.lang.String string)insertDebugSignpost: Inserts a debug string into the command buffer. This does not change any API behavior, but can be useful when debugging.
-
label
@Nullable @Nullable java.lang.String label()
[@property] label A string to help identify this object.
-
popDebugGroup
void popDebugGroup()
popDebugGroup Pop the latest named string off of the stack.
-
pushDebugGroup
void pushDebugGroup(@NotNull @NotNull java.lang.String string)pushDebugGroup: Push a new named string onto a stack of string labels.
-
setLabel
void setLabel(@Nullable @Nullable java.lang.String value)[@property] label A string to help identify this object.
-
-