Class VulkanGpuTextureView
java.lang.Object
com.mojang.blaze3d.textures.GpuTextureView
com.mojang.blaze3d.vulkan.VulkanGpuTextureView
- All Implemented Interfaces:
Destroyable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVulkanGpuTextureView(VulkanDevice device, VulkanGpuTexture texture, int baseMipLevel, int mipLevels) -
Method Summary
Methods inherited from class GpuTextureView
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 classGpuTextureView
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTextureView
-
texture
- Overrides:
texturein classGpuTextureView
-
vkImageView
public long vkImageView()
-