java.lang.Object
com.jozufozu.flywheel.backend.gl.GlObject
com.jozufozu.flywheel.backend.gl.shader.GlProgram
com.jozufozu.flywheel.core.shader.ExtensibleGlProgram
com.jozufozu.flywheel.core.shader.WorldProgram
com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionProgram

public class ContraptionProgram extends com.jozufozu.flywheel.core.shader.WorldProgram
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.jozufozu.flywheel.core.shader.ExtensibleGlProgram

    com.jozufozu.flywheel.core.shader.ExtensibleGlProgram.Factory<P extends com.jozufozu.flywheel.backend.gl.shader.GlProgram>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final int
     
    protected final int
     
    protected int
     
    protected final int
     

    Fields inherited from class com.jozufozu.flywheel.core.shader.WorldProgram

    uBlockAtlas, uCameraPos, uLightMap, uTime, uViewProjection, uWindowSize

    Fields inherited from class com.jozufozu.flywheel.core.shader.ExtensibleGlProgram

    extensions

    Fields inherited from class com.jozufozu.flywheel.backend.gl.shader.GlProgram

    name
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContraptionProgram(net.minecraft.resources.ResourceLocation name, int handle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(com.mojang.math.Matrix4f model, net.minecraft.world.phys.AABB lightVolume)
     
    protected void
     

    Methods inherited from class com.jozufozu.flywheel.core.shader.WorldProgram

    bind, uploadCameraPos, uploadTime, uploadViewProjection, uploadWindowSize

    Methods inherited from class com.jozufozu.flywheel.core.shader.ExtensibleGlProgram

    toString

    Methods inherited from class com.jozufozu.flywheel.backend.gl.shader.GlProgram

    deleteInternal, getUniformLocation, setSamplerBinding, unbind, uploadMatrixUniform

    Methods inherited from class com.jozufozu.flywheel.backend.gl.GlObject

    checkHandle, delete, handle, invalidateHandle, isInvalid, setHandle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • uLightBoxSize

      protected final int uLightBoxSize
    • uLightBoxMin

      protected final int uLightBoxMin
    • uModel

      protected final int uModel
    • uLightVolume

      protected int uLightVolume
  • Constructor Details

    • ContraptionProgram

      public ContraptionProgram(net.minecraft.resources.ResourceLocation name, int handle)
  • Method Details

    • registerSamplers

      protected void registerSamplers()
      Overrides:
      registerSamplers in class com.jozufozu.flywheel.core.shader.WorldProgram
    • bind

      public void bind(com.mojang.math.Matrix4f model, net.minecraft.world.phys.AABB lightVolume)