net.minecraft.client.gl

public class GlShaderProgram

implements GpuResource

com.mojang.renderpearl.backend.opengl.GlProgram
net.minecraft.class_5944
net.minecraft.client.gl.GlShaderProgram

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_58041
LOGGER
private final List<GlUniform>
uniforms
field_1_9417
uniformBindings
private final int
programId
field_29493
glRef
private final String
debugLabel
field_57865
debugLabel

Constructor summary

ModifierConstructor
private (int glRef, String debugLabel)

Method summary

Modifier and TypeMethod
public static GlShaderProgram
link(List<GlShaderModule> compiledShaders, String debugLabel)
method_62896(List<class_10141> arg0, String arg1)
create(List<GlCompiledShader> compiledShaders, String name)
private static String
shaderList(List<GlShaderModule> compiledShaders)
method_1_9084(List<class_10141> arg0)
describeConstituents(List<GlCompiledShader> compiledShaders)
public void
setupBindGroupLayouts(List<BindGroupLayout$UniformDescription> uniforms)
method_1_4748(List<class_1_794$class_1_796> arg0)
resolveResources(List<BindGroupLayout$BufferBinding> bindings)
public void
close()
public GlUniform
getUniform(int index)
method_1_9082(int arg0)
getUniformBinding(int index)
public int
uniformCount()
method_1_9085()
getNumUniformBindings()
public int
getProgramId()
method_1270()
getGlRef()
public String
getDebugLabel()
method_68404()
getDebugLabel()
private static String
lambda$shaderList$0(GlShaderModule arg0)
method_1_9083(class_10141 arg0)
method_1_9083(GlCompiledShader compiledShader)