net.minecraft.client.gl

public class GlBackend

implements GpuDevice

fmd
com.mojang.blaze3d.opengl.GlDevice
net.minecraft.class_10865
net.minecraft.client.gl.GlBackend
net.minecraft.unmapped.C_ccfvxzcb
net.minecraft.unmapped.C_ccfvxzcb
com.mojang.blaze3d.opengl.GlDevice

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
g
LOGGER
field_57853
LOGGER
f_aydsmzky
LOGGER
LOGGER
protected static boolean
a
USE_GL_ARB_vertex_attrib_binding
field_58035
allowGlArbVABinding
f_mftnyqkd
USE_GL_ARB_vertex_attrib_binding
protected static boolean
b
USE_GL_KHR_debug
field_58036
allowGlKhrDebug
f_eevtgcul
USE_GL_KHR_debug
protected static boolean
c
USE_GL_EXT_debug_label
field_58037
allowExtDebugLabel
f_oivztlyo
USE_GL_EXT_debug_label
protected static boolean
d
USE_GL_ARB_debug_output
field_58038
allowGlArbDebugOutput
f_bsbgyzbx
USE_GL_ARB_debug_output
protected static boolean
e
USE_GL_ARB_direct_state_access
field_58039
allowGlArbDirectAccess
f_rvipltke
USE_GL_ARB_direct_state_access
protected static boolean
f
USE_GL_ARB_buffer_storage
field_60016
allowGlBufferStorage
f_fcvwdnlz
USE_GL_ARB_buffer_storage
private final CommandEncoder
h
encoder
field_57854
commandEncoder
f_ofqsmwkn
encoder
private final GlDebug
i
debugLog
field_57855
glDebug
f_rfwcpeyh
debugLog
private final DebugLabelManager
j
debugLabels
field_57856
debugLabelManager
f_rhiozkpa
debugLabels
private final int
k
maxSupportedTextureSize
field_57857
maxTextureSize
f_uviftejn
maxSupportedTextureSize
private final BufferManager
l
directStateAccess
field_57858
bufferManager
f_jiplacmr
directStateAccess
private final BiFunction<Identifier, ShaderType, String>
m
defaultShaderSource
field_57859
defaultShaderSourceGetter
f_mjevehyg
defaultShaderSource
private final Map<RenderPipeline, CompiledShaderPipeline>
n
pipelineCache
field_57860
pipelineCompileCache
f_yzmxjetg
pipelineCache
private final Map<GlBackend$ShaderKey, CompiledShader>
o
shaderCache
field_57861
shaderCompileCache
f_ldacoyfz
shaderCache
private final VertexBufferManager
p
vertexArrayCache
field_57862
vertexBufferManager
f_kjamykwh
vertexArrayCache
private final GpuBufferManager
q
bufferStorage
field_60017
gpuBufferManager
f_rzhnigql
bufferStorage
private final Set<String>
r
enabledExtensions
field_58040
usedGlCapabilities
f_urpfnuyp
enabledExtensions
private final int
s
uniformOffsetAlignment
field_60018
uniformOffsetAlignment
f_mzokzfog
uniformOffsetAlignment

Constructor summary

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

Method summary

Modifier and TypeMethod
public DebugLabelManager
a()
debugLabels()
method_68377()
getDebugLabelManager()
m_gwlimopf()
debugLabels()
public CommandEncoder
createCommandEncoder()
createCommandEncoder()
createCommandEncoder()
public GpuTexture
createTexture(Supplier<String> o, int o, TextureFormat o, int o, int o, int o, int arg6)
createTexture(Supplier<String> arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(Supplier<String> arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(Supplier<String> arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(Supplier<String> p_394481_, int p_394839_, TextureFormat p_391831_, int p_395609_, int p_407582_, int p_408928_, int arg6)
public GpuTexture
createTexture(String o, int o, TextureFormat o, int o, int o, int o, int arg6)
createTexture(String arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(String arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(String arg0, int arg1, TextureFormat arg2, int arg3, int arg4, int arg5, int arg6)
createTexture(String p_395535_, int p_394951_, TextureFormat p_393944_, int p_392329_, int p_408015_, int p_406483_, int arg6)
public GpuTextureView
createTextureView(GpuTexture arg0)
createTextureView(GpuTexture arg0)
createTextureView(GpuTexture arg0)
createTextureView(GpuTexture arg0)
createTextureView(GpuTexture arg0)
public GpuTextureView
createTextureView(GpuTexture o, int o, int arg2)
createTextureView(GpuTexture arg0, int arg1, int arg2)
createTextureView(GpuTexture arg0, int arg1, int arg2)
createTextureView(GpuTexture arg0, int arg1, int arg2)
createTextureView(GpuTexture p_410314_, int p_406705_, int arg2)
public GpuBuffer
createBuffer(Supplier<String> o, int o, int arg2)
createBuffer(Supplier<String> arg0, int arg1, int arg2)
createBuffer(Supplier<String> arg0, int arg1, int arg2)
createBuffer(Supplier<String> arg0, int arg1, int arg2)
createBuffer(Supplier<String> p_395846_, int p_407608_, int arg2)
public GpuBuffer
createBuffer(Supplier<String> o, int o, ByteBuffer arg2)
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
createBuffer(Supplier<String> arg0, int arg1, ByteBuffer arg2)
createBuffer(Supplier<String> p_410182_, int p_397021_, ByteBuffer arg2)
public String
getImplementationInformation()
getImplementationInformation()
getImplementationInformation()
public List<String>
getLastDebugMessages()
getLastDebugMessages()
getLastDebugMessages()
public boolean
isDebuggingEnabled()
isDebuggingEnabled()
isDebuggingEnabled()
public String
getRenderer()
getRenderer()
getRenderer()
public String
getVendor()
getVendor()
getVendor()
public String
getBackendName()
getBackendName()
getBackendName()
public String
getVersion()
getVersion()
getVersion()
private static int
e()
getMaxSupportedTextureSize()
method_68403()
determineMaxTextureSize()
m_aaadqoyd()
getMaxSupportedTextureSize()
public int
getMaxTextureSize()
getMaxTextureSize()
getMaxTextureSize()
public int
getUniformOffsetAlignment()
getUniformOffsetAlignment()
getUniformOffsetAlignment()
public void
clearPipelineCache()
clearPipelineCache()
clearPipelineCache()
public List<String>
getEnabledExtensions()
getEnabledExtensions()
getEnabledExtensions()
public void
close()
close()
close()
public BufferManager
b()
directStateAccess()
method_68401()
getBufferManager()
m_irxvvgnw()
directStateAccess()
protected CompiledShaderPipeline
a(RenderPipeline arg0)
getOrCompilePipeline(RenderPipeline arg0)
method_68381(RenderPipeline arg0)
compilePipelineCached(RenderPipeline pipeline)
m_vvcfweme(com.mojang.blaze3d.pipeline.RenderPipeline arg0)
m_vvcfweme(com.mojang.blaze3d.pipeline.RenderPipeline pipeline)
getOrCompilePipeline(RenderPipeline arg0)
protected CompiledShader
a(ame o, ShaderType o, gye o, BiFunction<ame, ShaderType, String> arg3)
getOrCompileShader(ResourceLocation arg0, ShaderType arg1, ShaderDefines arg2, BiFunction<ResourceLocation, ShaderType, String> arg3)
method_68378(class_2960 arg0, ShaderType arg1, class_10149 arg2, BiFunction<class_2960, ShaderType, String> arg3)
compileShader(Identifier id, ShaderType type, Defines defines, BiFunction<Identifier, ShaderType, String> sourceRetriever)
m_vqqnzyjm(C_ncpywfca arg0, com.mojang.blaze3d.shaders.ShaderType arg1, C_wechclhy arg2, BiFunction<C_ncpywfca, com.mojang.blaze3d.shaders.ShaderType, String> arg3)
m_vqqnzyjm(Identifier id, com.mojang.blaze3d.shaders.ShaderType type, C_wechclhy defines, BiFunction<Identifier, com.mojang.blaze3d.shaders.ShaderType, String> arg3)
getOrCompileShader(C_5265_ p_393555_, ShaderType p_392809_, C_346062_ p_398003_, BiFunction<C_5265_, ShaderType, String> arg3)
public CompiledShaderPipeline
a(RenderPipeline o, BiFunction<ame, ShaderType, String> arg1)
precompilePipeline(RenderPipeline arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68383(RenderPipeline arg0, BiFunction<class_2960, ShaderType, String> arg1)
precompilePipeline(RenderPipeline arg0, BiFunction<Identifier, ShaderType, String> arg1)
m_nsbftuzs(com.mojang.blaze3d.pipeline.RenderPipeline arg0, BiFunction<C_ncpywfca, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
precompilePipeline(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, BiFunction<Identifier, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
precompilePipeline(RenderPipeline p_395925_, BiFunction<C_5265_, ShaderType, String> arg1)
private CompiledShader
a(fmd$a o, BiFunction<ame, ShaderType, String> arg1)
compileShader(GlDevice$ShaderCompilationKey arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68379(class_10865$class_10154 arg0, BiFunction<class_2960, ShaderType, String> arg1)
compileShader(GlBackend$ShaderKey key, BiFunction<Identifier, ShaderType, String> sourceRetriever)
m_muombbuz(C_ccfvxzcb$C_hecumvvf arg0, BiFunction<C_ncpywfca, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
compileShader(GlDevice$C_379316_ p_393230_, BiFunction<C_5265_, ShaderType, String> arg1)
private CompiledShaderPipeline
b(RenderPipeline o, BiFunction<ame, ShaderType, String> arg1)
compilePipeline(RenderPipeline arg0, BiFunction<ResourceLocation, ShaderType, String> arg1)
method_68392(RenderPipeline arg0, BiFunction<class_2960, ShaderType, String> arg1)
compileRenderPipeline(RenderPipeline pipeline, BiFunction<Identifier, ShaderType, String> sourceRetriever)
m_xnfpiqaz(com.mojang.blaze3d.pipeline.RenderPipeline arg0, BiFunction<C_ncpywfca, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
m_xnfpiqaz(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, BiFunction<Identifier, com.mojang.blaze3d.shaders.ShaderType, String> arg1)
compilePipeline(RenderPipeline p_394041_, BiFunction<C_5265_, ShaderType, String> arg1)
public VertexBufferManager
c()
vertexArrayCache()
method_68402()
getVertexBufferManager()
m_amewrbvw()
vertexArrayCache()
public GpuBufferManager
d()
getBufferStorage()
method_71032()
getGpuBufferManager()
m_takxcanl()
getBufferStorage()