com.mojang.blaze3d.opengl

public class GlDevice

implements GpuDevice

fiz
com.mojang.blaze3d.opengl.GlDevice
net.minecraft.class_10865
net.minecraft.client.gl.GlBackend

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
f
LOGGER
field_57853
LOGGER
protected static boolean
a
USE_GL_ARB_vertex_attrib_binding
field_58035
allowGlArbVABinding
protected static boolean
b
USE_GL_KHR_debug
field_58036
allowGlKhrDebug
protected static boolean
c
USE_GL_EXT_debug_label
field_58037
allowExtDebugLabel
protected static boolean
d
USE_GL_ARB_debug_output
field_58038
allowGlArbDebugOutput
protected static boolean
e
USE_GL_ARB_direct_state_access
field_58039
allowGlArbDirectAccess
private final CommandEncoder
g
encoder
field_57854
resourceManager
private final GlDebug
h
debugLog
field_57855
glDebug
private final GlDebugLabel
i
debugLabels
field_57856
debugLabelManager
private final int
j
maxSupportedTextureSize
field_57857
maxTextureSize
private final DirectStateAccess
k
directStateAccess
field_57858
framebufferManager
private final BiFunction<ResourceLocation, ShaderType, String>
l
defaultShaderSource
field_57859
defaultShaderSourceGetter
private final Map<RenderPipeline, GlRenderPipeline>
m
pipelineCache
field_57860
pipelineCompileCache
private final Map<GlDevice$ShaderCompilationKey, GlShaderModule>
n
shaderCache
field_57861
shaderCompileCache
private final VertexArrayCache
o
vertexArrayCache
field_57862
bufferManager
private final Set<String>
p
enabledExtensions
field_58040
usedGlCapabilities

Constructor summary

ModifierConstructor
public (long contextId, int debugVerbosity, boolean sync, BiFunction<ResourceLocation, ShaderType, String> shaderSourceGetter, boolean renderDebugLabels)

Method summary

Modifier and TypeMethod
public GlDebugLabel
a()
debugLabels()
method_68377()
getDebugLabelManager()
public CommandEncoder
b()
createCommandEncoder()
method_68389()
getResourceManager()
public GpuTexture
a(Supplier<String> arg0, flk arg1, int arg2, int arg3, int arg4)
createTexture(Supplier<String> arg0, TextureFormat arg1, int arg2, int arg3, int arg4)
method_68388(Supplier<String> arg0, class_10793 arg1, int arg2, int arg3, int arg4)
createTexture(Supplier<String> arg0, TextureType arg1, int arg2, int arg3, int arg4)
public GpuTexture
a(String arg0, flk arg1, int arg2, int arg3, int arg4)
createTexture(String arg0, TextureFormat arg1, int arg2, int arg3, int arg4)
method_68385(String arg0, class_10793 arg1, int arg2, int arg3, int arg4)
createTexture(String arg0, TextureType arg1, int arg2, int arg3, int arg4)
public GpuBuffer
a(Supplier<String> arg0, fig arg1, fih arg2, int arg3)
createBuffer(Supplier<String> arg0, BufferType arg1, BufferUsage arg2, int arg3)
method_68386(Supplier<String> arg0, class_10226 arg1, class_8555 arg2, int arg3)
createBuffer(Supplier<String> arg0, GlBufferTarget arg1, GlUsage arg2, int arg3)
public GpuBuffer
a(Supplier<String> arg0, fig arg1, fih arg2, ByteBuffer arg3)
createBuffer(Supplier<String> arg0, BufferType arg1, BufferUsage arg2, ByteBuffer arg3)
method_68387(Supplier<String> arg0, class_10226 arg1, class_8555 arg2, ByteBuffer arg3)
createBuffer(Supplier<String> arg0, GlBufferTarget arg1, GlUsage arg2, ByteBuffer arg3)
public String
c()
getImplementationInformation()
method_68391()
getDebugString()
public List<String>
d()
getLastDebugMessages()
method_68393()
getDebugMessages()
public boolean
e()
isDebuggingEnabled()
method_68394()
hasDebug()
public String
f()
getRenderer()
method_68395()
getBackendRenderer()
public String
g()
getVendor()
method_68396()
getBackendVendor()
public String
h()
getBackendName()
method_68397()
getBackendName()
public String
i()
getVersion()
method_68398()
getBackendVersion()
private static int
o()
getMaxSupportedTextureSize()
method_68403()
determineMaxTextureSize()
public int
j()
getMaxTextureSize()
method_68399()
getMaxTextureSize()
public void
k()
clearPipelineCache()
method_68400()
release()
public List<String>
l()
getEnabledExtensions()
method_68669()
getUsedGlCapabilities()
public DirectStateAccess
m()
directStateAccess()
method_68401()
getFramebufferManager()
protected GlRenderPipeline
a(fjr arg0)
getOrCompilePipeline(RenderPipeline arg0)
method_68381(class_10785 arg0)
compileShaderPipelineCached(ShaderPipeline pipeline)
protected GlShaderModule
a(alk arg0, fky arg1, gst arg2, BiFunction<alk, fky, String> arg3)
getOrCompileShader(ResourceLocation arg0, ShaderType arg1, ShaderDefines arg2, BiFunction<ResourceLocation, ShaderType, String> arg3)
method_68378(class_2960 arg0, class_282 arg1, class_10149 arg2, BiFunction<class_2960, class_282, String> arg3)
compileShader(Identifier id, ShaderType type, Defines defines, BiFunction<Identifier, ShaderType, String> sourceRetriever)
public GlRenderPipeline
a(fjr arg0, BiFunction<alk, fky, String> arg1)
precompilePipeline(RenderPipeline arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68383(class_10785 arg0, BiFunction<class_2960, class_282, String> arg1)
compileShaderPipelineCached(ShaderPipeline arg0, BiFunction<Identifier, ShaderType, String> arg1)
private GlShaderModule
a(fiz$a arg0, BiFunction<alk, fky, String> arg1)
compileShader(GlDevice$ShaderCompilationKey arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68379(class_10865$class_10154 arg0, BiFunction<class_2960, class_282, String> arg1)
compileShader(GlBackend$ShaderKey key, BiFunction<Identifier, ShaderType, String> sourceRetriever)
private GlRenderPipeline
c(fjr arg0, BiFunction<alk, fky, String> arg1)
compilePipeline(RenderPipeline arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68392(class_10785 arg0, BiFunction<class_2960, class_282, String> arg1)
compileShaderPipeline(ShaderPipeline pipeline, BiFunction<Identifier, ShaderType, String> shaderSourceGetter)
public VertexArrayCache
n()
vertexArrayCache()
method_68402()
getBufferManager()