com.mojang.blaze3d.systems

public class GpuDevice

com.mojang.blaze3d.systems.GpuDevice
com.mojang.blaze3d.systems.GpuDevice
com.mojang.blaze3d.systems.GpuDevice

Field summary

Modifier and TypeField
private final GpuBackend
backend
private final Runnable
criticalShaderLoader
private final GpuProfiler
profiler

Constructor summary

ModifierConstructor
public (GpuBackend backend, Runnable criticalShaderLoader)

Method summary

Modifier and TypeMethod
public GpuSurface
createSurface(long windowHandle)
createSurface(long arg0)
createSurface(long window)
public CommandEncoder
createCommandEncoder()
public GpuSampler
createSampler(AddressMode addressModeU, AddressMode addressModeV, FilterMode minFilter, FilterMode magFilter, int maxAnisotropy, OptionalDouble maxLod)
createSampler(com.mojang.blaze3d.textures.AddressMode arg0, com.mojang.blaze3d.textures.AddressMode arg1, com.mojang.blaze3d.textures.FilterMode arg2, com.mojang.blaze3d.textures.FilterMode arg3, int arg4, OptionalDouble arg5)
createSampler(com.mojang.blaze3d.textures.AddressMode addressModeU, com.mojang.blaze3d.textures.AddressMode addressModeV, com.mojang.blaze3d.textures.FilterMode filterModeU, com.mojang.blaze3d.textures.FilterMode filterModeV, int maxAnisotropy, OptionalDouble maxLevelOfDetail)
public GpuTexture
createTexture(Supplier<String> label, int usage, GpuFormat format, int width, int height, int depthOrLayers, int mipLevels)
createTexture(Supplier<String> arg0, int arg1, class_1_658 arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(Supplier<String> labelGetter, int usage, TexelFormat format, int width, int height, int depthOrLayers, int mipLevels)
public GpuTexture
createTexture(String label, int usage, GpuFormat format, int width, int height, int depthOrLayers, int mipLevels)
createTexture(String arg0, int arg1, class_1_658 arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(String label, int usage, TexelFormat format, int width, int height, int depthOrLayers, int mipLevels)
private void
verifyTextureCreationArgs(int usage, int width, int height, int depthOrLayers, int mipLevels)
verifyTextureCreationArgs(int arg0, int arg1, int arg2, int arg3, int arg4)
verifyTextureCreationArgs(int usage, int width, int height, int depthOrLayers, int mipLevels)
public GpuTextureView
createTextureView(GpuTexture texture)
createTextureView(GpuTexture arg0)
createTextureView(GpuTexture texture)
public GpuTextureView
createTextureView(GpuTexture texture, int baseMipLevel, int mipLevels)
createTextureView(GpuTexture arg0, int arg1, int arg2)
createTextureView(GpuTexture texture, int baseMipLevel, int mipLevels)
private void
verifyTextureViewCreationArgs(GpuTexture texture, int baseMipLevel, int mipLevels)
verifyTextureViewCreationArgs(GpuTexture arg0, int arg1, int arg2)
verifyTextureViewCreationArgs(GpuTexture texture, int baseMipLevel, int mipLevels)
public GpuBuffer
createBuffer(Supplier<String> label, int usage, long size)
createBuffer(Supplier<String> arg0, int arg1, long arg2)
createBuffer(Supplier<String> labelGetter, int usage, long size)
public GpuBuffer
createBuffer(Supplier<String> label, int usage, ByteBuffer data)
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
createBuffer(Supplier<String> labelGetter, int usage, ByteBuffer data)
public List<String>
getLastDebugMessages()
public boolean
isDebuggingEnabled()
public CompiledRenderPipeline
precompilePipeline(RenderPipeline pipeline)
precompilePipeline(RenderPipeline arg0)
precompilePipeline(RenderPipeline pipeline)
public CompiledRenderPipeline
precompilePipeline(RenderPipeline pipeline, ShaderSource shaderSource)
precompilePipeline(RenderPipeline arg0, class_12289 arg1)
precompilePipeline(RenderPipeline pipeline, ShaderSourceGetter sourceGetter)
public void
clearPipelineCache()
public void
loadCriticalShaders()
public void
close()
public TimestampQueryPool
createTimestampQueryPool(int size)
createTimestampQueryPool(int arg0)
createTimestampQueryPool(int size)
protected long
getTimestampNow()
public GpuDeviceInfo
getDeviceInfo()