net.minecraft.client.vulkanpublic class VulkanTexture
extends GpuTextureImpl implements DeferredDisposable
All mapped superinterfaces:
GpuTexture, GpuResource, DeferredDisposable
| com.mojang.renderpearl.backend.vulkan.VulkanGpuTexture |
| com.mojang.renderpearl.backend.vulkan.VulkanGpuTexture |
| net.minecraft.class_1_703 |
| net.minecraft.client.vulkan.VulkanTexture |
Field summary
| Modifier and Type | Field |
|---|
| private final VulkanBackend | | device | | device | | field_1_3609 | | device |
|
| private final long | | vkImage | | vkImage | | field_1_3611 | | rawImage |
|
| private final long | | vmaAllocation | | vmaAllocation | | field_1_3612 | | rawVmaAllocation |
|
| private boolean | | closed | | closed | | field_1_3608 | | closed |
|
| private int | | views | | views | | field_1_3610 | | refcount |
|
Constructor summary
| Modifier | Constructor |
|---|
| public | (VulkanBackend device, int usage, String label, TexelFormat format, int width, int height, int depthOrLayers, int mipLevels) |
Method summary
| Modifier and Type | Method |
|---|
| public void | | destroy() | | destroy() | | method_1_4001() | | destroy() |
|
| public void | |
| public boolean | | isClosed() | | isClosed() | | method_1_7823() | | isClosed() |
|
| public void | | addViews() | | addViews() | | method_1_4209() | | incrementRefcount() |
|
| public void | | removeViews() | | removeViews() | | method_1_4210() | | decrementRefcount() |
|
| public long | | vkImage() | | vkImage() | | method_1_4211() | | getRawImage() |
|