Class VulkanGpuTextureView
java.lang.Object
com.mojang.renderpearl.backend.common.BaseGpuTextureView
com.mojang.renderpearl.backend.vulkan.VulkanGpuTextureView
- All Implemented Interfaces:
GpuTextureView, Destroyable, UncheckedAutoCloseable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVulkanGpuTextureView(VulkanDevice device, VulkanGpuTexture texture, int baseMipLevel, int mipLevels) -
Method Summary
Methods inherited from class BaseGpuTextureView
baseMipLevel, getHeight, getWidth, mipLevels
-
Field Details
-
device
-
vkImageView
private final long vkImageView -
closed
private boolean closed
-
-
Constructor Details
-
VulkanGpuTextureView
protected VulkanGpuTextureView(VulkanDevice device, VulkanGpuTexture texture, int baseMipLevel, int mipLevels)
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceUncheckedAutoCloseable
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceGpuTextureView
-
texture
- Specified by:
texturein interfaceGpuTextureView- Overrides:
texturein classBaseGpuTextureView
-
vkImageView
public long vkImageView()
-