Uses of Class
net.minecraft.client.gl.ShaderProgram
-
Uses of ShaderProgram in com.mojang.blaze3d.systems
Modifier and TypeMethodDescriptionstatic @Nullable ShaderProgram
RenderSystem.getShader()
static @Nullable ShaderProgram
RenderSystem.setShader
(ShaderProgramKey shaderProgramKey) Modifier and TypeMethodDescriptionstatic void
RenderSystem.setShader
(ShaderProgram shaderProgram) Sets theRenderSystem
's global shader program.static void
RenderSystem.setupShaderLights
(ShaderProgram shader) -
Uses of ShaderProgram in net.minecraft.client.gl
Modifier and TypeFieldDescription(package private) final Map
<ShaderProgramKey, Optional<ShaderProgram>> ShaderLoader.Cache.shaderPrograms
Modifier and TypeMethodDescriptionstatic ShaderProgram
ShaderProgram.create
(CompiledShader vertexShader, CompiledShader fragmentShader, VertexFormat format) (package private) static ShaderProgram
ShaderLoader.createProgram
(ShaderProgramKey key, ShaderProgramDefinition definition, CompiledShader vertexShader, CompiledShader fragmentShader) ShaderLoader.getOrCreateProgram
(ShaderProgramKey key) ShaderLoader.Cache.getOrLoadProgram
(ShaderProgramKey key) PostEffectPass.getProgram()
ShaderLoader.getProgramToLoad
(ShaderProgramKey key) (package private) ShaderProgram
ShaderLoader.Cache.loadProgram
(ShaderProgramKey key) Modifier and TypeMethodDescriptionvoid
PostEffectPass.Sampler.bind
(ShaderProgram program, Map<Identifier, Handle<Framebuffer>> internalTargets) void
PostEffectPass.TargetSampler.bind
(ShaderProgram program, Map<Identifier, Handle<Framebuffer>> internalTargets) void
PostEffectPass.TextureSampler.bind
(ShaderProgram program, Map<Identifier, Handle<Framebuffer>> internalTargets) void
VertexBuffer.draw
(Matrix4f viewMatrix, Matrix4f projectionMatrix, @Nullable ShaderProgram program) Draws the contents in this vertex buffer withprogram
.ModifierConstructorDescriptionPostEffectPass
(String id, ShaderProgram program, Identifier outputTargetId, List<PostEffectPipeline.Uniform> uniforms)