net.minecraft.client.vulkan

public class VulkanBackend

implements GpuBackend

com.mojang.renderpearl.backend.vulkan.VulkanDevice
net.minecraft.class_1_679
net.minecraft.client.vulkan.VulkanBackend

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1_3436
LOGGER
private final VulkanInstance
instance
field_1_3443
instance
private final org.lwjgl.vulkan.VkDevice
vkDevice
field_1_3448
device
private final long
vma
field_1_3449
vmaAllocator
private final SpirvShaderCompiler
glslCompiler
field_1_3441
shaderCompiler
private final GpuDeviceInfo
deviceInfo
field_1_3440
deviceInfo
private final VulkanQueue
graphicsQueue
field_1_3442
graphicsAndComputeQueue
private final VulkanQueue
computeQueue
field_1_3438
computeQueue
private final VulkanQueue
transferQueue
field_1_3447
fallbackQueue
private final boolean
isIntegratedIntelMoltenVK
field_1_3444
requiresHostVisibleBuffers
private final VulkanCommandEncoderBackend
commandEncoder
field_1_3437
commandEncoder
private final MarkerRecorder
checkpointExtension
field_1_6395
markerRecorder
static final boolean
$assertionsDisabled
field_1_3435
field_1_3435

Constructor summary

ModifierConstructor
public (VulkanInstance instance, VulkanPhysicalDevice physicalDevice, VulkanFeatureSet enabledFeatureSet, org.lwjgl.vulkan.VkDevice device, long vmaAllocator, MarkerRecorder markerRecorder)

Method summary

Modifier and TypeMethod
public void
close()
method_1_1285()
close()
public GpuDeviceInfo
getDeviceInfo()
method_1_4221()
getDeviceInfo()
public VulkanInstance
instance()
method_1_4053()
getInstance()
public org.lwjgl.vulkan.VkDevice
vkDevice()
method_1_4058()
getRawDevice()
public VulkanQueue
graphicsQueue()
method_1_4052()
getGraphicsAndComputeQueue()
public VulkanQueue
computeQueue()
method_1_4048()
getComputeQueue()
public VulkanQueue
transferQueue()
method_1_4057()
getFallbackQueue()
public long
vma()
method_1_4059()
getVmaAllocator()
public GpuSurfaceBackend
createSurface(long windowHandle)
method_1_4219(long arg0)
createSurface(long arg0)
public VulkanCommandEncoderBackend
createCommandEncoder()
method_1_1288()
getCommandEncoder()
public GpuSampler
createSampler(AddressMode addressModeU, AddressMode addressModeV, FilterMode minFilter, FilterMode magFilter, int maxAnisotropy, OptionalDouble maxLod)
method_1_1289(class_1_1239 arg0, class_1_1239 arg1, class_1_1230 arg2, class_1_1230 arg3, int arg4, OptionalDouble arg5)
createSampler(AddressMode arg0, AddressMode arg1, FilterMode arg2, FilterMode arg3, int arg4, OptionalDouble arg5)
public GpuTexture
createTexture(Supplier<String> label, int usage, GpuFormat format, int width, int height, int depthOrLayers, int mipLevels)
method_1_1291(Supplier<String> arg0, int arg1, class_1_658 arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(Supplier<String> arg0, int arg1, TexelFormat arg2, int arg3, int arg4, int arg5, int arg6)
public GpuTexture
createTexture(String label, int usage, GpuFormat format, int width, int height, int depthOrLayers, int mipLevels)
method_1_1290(String arg0, int arg1, class_1_658 arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(String arg0, int arg1, TexelFormat arg2, int arg3, int arg4, int arg5, int arg6)
public GpuTextureView
createTextureView(GpuTexture texture)
method_1_1292(class_1_1231 arg0)
createTextureView(GpuTexture arg0)
public GpuTextureView
createTextureView(GpuTexture texture, int baseMipLevel, int mipLevels)
method_1_1293(class_1_1231 arg0, int arg1, int arg2)
createTextureView(GpuTexture arg0, int arg1, int arg2)
public VulkanGpuBuffer
createBuffer(Supplier<String> label, int usage, long size)
method_1_1286(Supplier<String> arg0, int arg1, long arg2)
createBuffer(Supplier<String> arg0, int arg1, long arg2)
public GpuBuffer
createBuffer(Supplier<String> label, int usage, ByteBuffer data)
method_1_1287(Supplier<String> arg0, int arg1, ByteBuffer arg2)
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
public List<String>
getLastDebugMessages()
method_1_1297()
getLastDebugMessages()
public boolean
isDebuggingEnabled()
method_1_1304()
isDebuggingEnabled()
protected SpirvShader
compileShader(Identifier id, ShaderType type, ShaderDefines defines, ShaderSource shaderSource)
method_1_4047(class_2960 arg0, class_1_1229 arg1, class_10149 arg2, class_12289 arg3)
compileShader(Identifier arg0, ShaderType arg1, Defines arg2, ShaderSourceGetter sourceGetter)
public CompiledPipeline
compilePipeline(RenderPipeline pipeline, ShaderSource shaderSource)
method_1_1306(class_1_1257 arg0, class_12289 arg1)
getCompiledPipeline(RenderPipeline arg0, ShaderSourceGetter arg1)
public TimestampQueryPool
createTimestampQueryPool(int size)
method_1_4220(int arg0)
createTimestampQueryPool(int arg0)
public long
getTimestampNow()
method_1_4222()
getTimestampNow()
public MarkerRecorder
checkpointExtension()
method_1_5492()
getMarkerRecorder()
public GpuBuffer
createBuffer(Supplier label, int usage, long size)
method_1_1286(Supplier arg0, int arg1, long arg2)
createBuffer(Supplier arg0, int arg1, long arg2)
public CommandEncoderBackend
createCommandEncoder()
method_1_1288()
getCommandEncoder()