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
private final RenderPipelineCompiler
pipelineBuilder
field_1_9433
pipelineCompiler

Constructor summary

ModifierConstructor
public (GpuBackend backend)

Method summary

Modifier and TypeMethod
public GpuSurface
createSurface(long windowHandle)
method_1_7711(long arg0)
createSurface(long arg0)
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 CompiledRenderPipeline
compilePipeline(RenderPipeline pipeline, ShaderSource shaderSource)
method_1_7706(class_1_1257 arg0, class_12289 arg1)
getCompiledPipeline(RenderPipeline arg0, ShaderSourceGetter arg1)
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()