@Generated(value="org.realityforge.webtack")
@ApiStatus.Experimental
@JsType(isNative=true,
namespace="<global>",
name="GPUCommandEncoder")
public class GPUCommandEncoder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
@JsNonNull StringOrUndefinedUnion |
label |
| Modifier | Constructor and Description |
|---|---|
protected |
GPUCommandEncoder() |
public @JsNonNull StringOrUndefinedUnion label
public @JsNonNull GPUComputePassEncoder beginComputePass(@Nonnull GPUComputePassDescriptor descriptor)
public @JsNonNull GPUComputePassEncoder beginComputePass()
public @JsNonNull GPURenderPassEncoder beginRenderPass(@Nonnull GPURenderPassDescriptor descriptor)
public void clearBuffer(@Nonnull
GPUBuffer buffer,
int offset,
int size)
public void clearBuffer(@Nonnull
GPUBuffer buffer,
int offset)
public void clearBuffer(@Nonnull
GPUBuffer buffer)
public void copyBufferToBuffer(@Nonnull
GPUBuffer source,
int sourceOffset,
@Nonnull
GPUBuffer destination,
int destinationOffset,
int size)
public void copyBufferToTexture(@Nonnull
GPUImageCopyBuffer source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
GPUExtent3D copySize)
public void copyBufferToTexture(@Nonnull
GPUImageCopyBuffer source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
JsArray<java.lang.Double> copySize)
public void copyBufferToTexture(@Nonnull
GPUImageCopyBuffer source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
GPUExtent3DDict copySize)
@JsOverlay
public final void copyBufferToTexture(@Nonnull
GPUImageCopyBuffer source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
double... copySize)
public void copyTextureToBuffer(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyBuffer destination,
@Nonnull
GPUExtent3D copySize)
public void copyTextureToBuffer(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyBuffer destination,
@Nonnull
JsArray<java.lang.Double> copySize)
public void copyTextureToBuffer(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyBuffer destination,
@Nonnull
GPUExtent3DDict copySize)
@JsOverlay
public final void copyTextureToBuffer(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyBuffer destination,
@Nonnull
double... copySize)
public void copyTextureToTexture(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
GPUExtent3D copySize)
public void copyTextureToTexture(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
JsArray<java.lang.Double> copySize)
public void copyTextureToTexture(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
GPUExtent3DDict copySize)
@JsOverlay
public final void copyTextureToTexture(@Nonnull
GPUImageCopyTexture source,
@Nonnull
GPUImageCopyTexture destination,
@Nonnull
double... copySize)
public @JsNonNull GPUCommandBuffer finish(@Nonnull GPUCommandBufferDescriptor descriptor)
public @JsNonNull GPUCommandBuffer finish()
public void resolveQuerySet(@Nonnull
GPUQuerySet querySet,
int firstQuery,
int queryCount,
@Nonnull
GPUBuffer destination,
int destinationOffset)
public void writeTimestamp(@Nonnull
GPUQuerySet querySet,
int queryIndex)
public void insertDebugMarker(@Nonnull
java.lang.String markerLabel)
public void popDebugGroup()
public void pushDebugGroup(@Nonnull
java.lang.String groupLabel)