VulkanShader_1.21.10-0.0.4-alpha.jar
Download file
package net.vulkanmod.render.engine;
import com.mojang.blaze3d.textures.GpuTextureView;
public class VkTextureView extends GpuTextureView {
private boolean closed;
protected VkTextureView(VkGpuTexture gpuTexture, int i, int j) {
super(gpuTexture, i, j);
gpuTexture.method_71635();
}
public boolean isClosed() {
return this.closed;
}
public void close() {
if (!this.closed) {
this.closed = true;
this.texture().method_71636();
}
}
public VkGpuTexture texture() {
return (VkGpuTexture)super.texture();
}
}
Download file