com.mojang.blaze3d.systems

public class GpuDeviceImpl

implements GpuDevice

com.mojang.renderpearl.frontend.FrontendGpuDevice
net.minecraft.class_1_1209
com.mojang.blaze3d.systems.GpuDeviceImpl

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1_9431
LOGGER
public static final boolean
STRICT_VALIDATION
field_1_9432
EXTRA_ASSERTIONS
private final GpuBackend
backend
field_1_8343
backend
private final GpuProfiler
profiler
field_1_8345
profiler
private final CommandEncoder
encoder
field_1_8344
commandEncoder

Constructor summary

ModifierConstructor
public (GpuBackend backend)

Method summary

Modifier and TypeMethod
public GpuSurface
createSurface(long windowHandle, BooleanSupplier isIconified)
method_1_7711(long arg0, BooleanSupplier arg1)
createSurface(long arg0, BooleanSupplier arg1)
public CommandEncoder
createCommandEncoder()
method_1_7709()
getCommandEncoder()
public GpuSampler
createSampler(AddressMode addressModeU, AddressMode addressModeV, FilterMode minFilter, FilterMode magFilter, int maxAnisotropy, OptionalDouble maxLod)
method_1_7710(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_7713(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_7712(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)
private void
verifyTextureCreationArgs(int usage, int width, int height, int depthOrLayers, int mipLevels)
method_1_7721(int arg0, int arg1, int arg2, int arg3, int arg4)
assertValidTextureCreationParams(int usage, int width, int height, int depthOrLayers, int mipLevels)
public GpuTextureView
createTextureView(GpuTexture texture)
method_1_7714(class_1_1318 arg0)
createTextureView(GpuTexture arg0)
public GpuTextureView
createTextureView(GpuTexture texture, int baseMipLevel, int mipLevels)
method_1_7715(class_1_1318 arg0, int arg1, int arg2)
createTextureView(GpuTexture arg0, int arg1, int arg2)
private void
verifyTextureViewCreationArgs(GpuTexture texture, int baseMipLevel, int mipLevels)
method_1_7722(class_1_1318 arg0, int arg1, int arg2)
assertTextureUsableWithMipLevels(GpuTexture texture, int baseMipLevel, int mipLevels)
public GpuBuffer
createBuffer(Supplier<String> label, int usage, long size)
method_1_7707(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_7708(Supplier<String> arg0, int arg1, ByteBuffer arg2)
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
public List<String>
getLastDebugMessages()
method_1_7718()
getLastDebugMessages()
public boolean
isDebuggingEnabled()
method_1_7720()
isDebuggingEnabled()
public ShaderModule
createSpvModule(String name, ByteBuffer spv, ShaderType type, String entryPoint)
method_1_10598(String arg0, ByteBuffer arg1, class_1_1229 arg2, String arg3)
createShaderModule(String arg0, ByteBuffer arg1, ShaderType arg2, String arg3)
public CompiledRenderPipeline$Supplier
compilePipeline(CompiledRenderPipeline$CreateInfo createInfo)
method_1_7706(class_1_1285$class_1_1387 arg0)
getCompiledPipeline(CompiledRenderPipeline$Layout arg0)
public void
close()
method_1_7705()
close()
public TimestampQueryPool
createTimestampQueryPool(int size)
method_1_7716(int arg0)
createTimestampQueryPool(int arg0)
long
getTimestampCalibrationOffset()
method_1_7719()
getTimestampNow()
public GpuDeviceInfo
getDeviceInfo()
method_1_7717()
getDeviceInfo()
private static CompiledRenderPipeline
lambda$compilePipeline$0(CompiledRenderPipeline$CreateInfo arg0, BackendRenderPipeline$Pending arg1, it.unimi.dsi.fastutil.ints.IntList arg2, it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap arg3)
method_1_10683(class_1_1285$class_1_1387 arg0, class_1_1386$class_1_1505 arg1, it.unimi.dsi.fastutil.ints.IntList arg2, it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap arg3)
method_1_10683(CompiledRenderPipeline$Layout arg0, BackendRenderPipeline$Supplier arg1, it.unimi.dsi.fastutil.ints.IntList arg2, it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap arg3)