com.mojang.blaze3d.opengl

public class GlDevice

implements GpuDevice

fki
com.mojang.blaze3d.opengl.GlDevice
net.minecraft.class_10865

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
g
LOGGER
field_57853
protected static boolean
a
USE_GL_ARB_vertex_attrib_binding
field_58035
protected static boolean
b
USE_GL_KHR_debug
field_58036
protected static boolean
c
USE_GL_EXT_debug_label
field_58037
protected static boolean
d
USE_GL_ARB_debug_output
field_58038
protected static boolean
e
USE_GL_ARB_direct_state_access
field_58039
protected static boolean
f
USE_GL_ARB_buffer_storage
field_60016
private final CommandEncoder
h
encoder
field_57854
private final GlDebug
i
debugLog
field_57855
private final GlDebugLabel
j
debugLabels
field_57856
private final int
k
maxSupportedTextureSize
field_57857
private final DirectStateAccess
l
directStateAccess
field_57858
private final BiFunction<ResourceLocation, ShaderType, String>
m
defaultShaderSource
field_57859
private final Map<RenderPipeline, GlRenderPipeline>
n
pipelineCache
field_57860
private final Map<GlDevice$ShaderCompilationKey, GlShaderModule>
o
shaderCache
field_57861
private final VertexArrayCache
p
vertexArrayCache
field_57862
private final BufferStorage
q
bufferStorage
field_60017
private final Set<String>
r
enabledExtensions
field_58040
private final int
s
uniformOffsetAlignment
field_60018

Constructor summary

ModifierConstructor
public (long arg0, int arg1, boolean arg2, BiFunction<ResourceLocation, ShaderType, String> arg3, boolean arg4)

Method summary

Modifier and TypeMethod
public GlDebugLabel
a()
debugLabels()
method_68377()
public CommandEncoder
createCommandEncoder()
createCommandEncoder()
public GpuTexture
createTexture(Supplier<String> arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5)
createTexture(Supplier<String> arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5)
public GpuTexture
createTexture(String arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5)
createTexture(String arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5)
public GpuBuffer
createBuffer(Supplier<String> arg0, int arg1, int arg2)
createBuffer(Supplier<String> arg0, int arg1, int arg2)
public GpuBuffer
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
public String
getImplementationInformation()
getImplementationInformation()
public List<String>
getLastDebugMessages()
getLastDebugMessages()
public boolean
isDebuggingEnabled()
isDebuggingEnabled()
public String
getRenderer()
getRenderer()
public String
getVendor()
getVendor()
public String
getBackendName()
getBackendName()
public String
getVersion()
getVersion()
private static int
e()
getMaxSupportedTextureSize()
method_68403()
public int
getMaxTextureSize()
getMaxTextureSize()
public int
getUniformOffsetAlignment()
getUniformOffsetAlignment()
public void
clearPipelineCache()
clearPipelineCache()
public List<String>
getEnabledExtensions()
getEnabledExtensions()
public void
close()
close()
public DirectStateAccess
b()
directStateAccess()
method_68401()
protected GlRenderPipeline
a(RenderPipeline arg0)
getOrCompilePipeline(RenderPipeline arg0)
method_68381(com.mojang.blaze3d.pipeline.RenderPipeline arg0)
protected GlShaderModule
a(alw arg0, ShaderType arg1, gvk arg2, BiFunction<alw, ShaderType, String> arg3)
getOrCompileShader(ResourceLocation arg0, ShaderType arg1, ShaderDefines arg2, BiFunction<ResourceLocation, ShaderType, String> arg3)
method_68378(class_2960 arg0, com.mojang.blaze3d.shaders.ShaderType arg1, class_10149 arg2, BiFunction<class_2960, com.mojang.blaze3d.shaders.ShaderType, String> arg3)
public GlRenderPipeline
a(RenderPipeline arg0, BiFunction<alw, ShaderType, String> arg1)
precompilePipeline(RenderPipeline arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68383(com.mojang.blaze3d.pipeline.RenderPipeline arg0, BiFunction<class_2960, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
private GlShaderModule
a(fki$a arg0, BiFunction<alw, ShaderType, String> arg1)
compileShader(GlDevice$ShaderCompilationKey arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68379(class_10865$class_10154 arg0, BiFunction<class_2960, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
private GlRenderPipeline
b(RenderPipeline arg0, BiFunction<alw, ShaderType, String> arg1)
compilePipeline(RenderPipeline arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68392(com.mojang.blaze3d.pipeline.RenderPipeline arg0, BiFunction<class_2960, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
public VertexArrayCache
c()
vertexArrayCache()
method_68402()
public BufferStorage
d()
getBufferStorage()
method_71032()