Package com.mojang.blaze3d.systems
Interface CommandEncoder
- All Known Implementing Classes:
GlCommandEncoder
public interface CommandEncoder
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearColorAndDepthTextures(GpuTexture colorTexture, int color, GpuTexture depthTexture, double clearDepth) voidclearColorTexture(GpuTexture texture, int color) voidclearDepthTexture(GpuTexture depthTexture, double clearDepth) voidclearStencilTexture(GpuTexture texture, int value) voidcopyTextureToBuffer(GpuTexture texture, GpuBuffer buffer, int offset, Runnable task, int mipLevel) voidcopyTextureToBuffer(GpuTexture texture, GpuBuffer buffer, int offset, Runnable task, int mipLevel, int x, int y, int width, int height) voidcopyTextureToTexture(GpuTexture source, GpuTexture destination, int mipLevel, int x, int y, int sourceX, int sourceY, int width, int height) createRenderPass(GpuTexture texture, OptionalInt color) createRenderPass(GpuTexture colorTexture, OptionalInt color, GpuTexture depthTexture, OptionalDouble clearDepth) voidpresentTexture(GpuTexture texture) readBuffer(GpuBuffer buffer) readBuffer(GpuBuffer buffer, int offset, int length) voidwriteToBuffer(GpuBuffer buffer, ByteBuffer source, int offset) voidwriteToTexture(GpuTexture texture, NativeImage image) voidwriteToTexture(GpuTexture texture, NativeImage image, int mipLevel, int x, int y, int width, int height, int sourceX, int sourceY) voidwriteToTexture(GpuTexture texture, IntBuffer buffer, NativeImage.Format format, int mipLevel, int x, int y, int width, int height)
-
Method Details
-
createRenderPass
-
createRenderPass
RenderPass createRenderPass(GpuTexture colorTexture, OptionalInt color, @Nullable GpuTexture depthTexture, OptionalDouble clearDepth) -
clearColorTexture
-
clearColorAndDepthTextures
void clearColorAndDepthTextures(GpuTexture colorTexture, int color, GpuTexture depthTexture, double clearDepth) -
clearDepthTexture
-
clearStencilTexture
-
writeToBuffer
-
readBuffer
-
readBuffer
-
writeToTexture
-
writeToTexture
void writeToTexture(GpuTexture texture, NativeImage image, int mipLevel, int x, int y, int width, int height, int sourceX, int sourceY) -
writeToTexture
void writeToTexture(GpuTexture texture, IntBuffer buffer, NativeImage.Format format, int mipLevel, int x, int y, int width, int height) -
copyTextureToBuffer
void copyTextureToBuffer(GpuTexture texture, GpuBuffer buffer, int offset, Runnable task, int mipLevel) -
copyTextureToBuffer
void copyTextureToBuffer(GpuTexture texture, GpuBuffer buffer, int offset, Runnable task, int mipLevel, int x, int y, int width, int height) -
copyTextureToTexture
void copyTextureToTexture(GpuTexture source, GpuTexture destination, int mipLevel, int x, int y, int sourceX, int sourceY, int width, int height) -
presentTexture
-