Class ContraptionProgram
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
FieldsModifier and TypeFieldDescriptionprotected final intprotected final intprotected intprotected final intFields inherited from class com.jozufozu.flywheel.core.shader.WorldProgram
uBlockAtlas, uCameraPos, uLightMap, uTime, uViewProjection, uWindowSizeFields inherited from class com.jozufozu.flywheel.core.shader.ExtensibleGlProgram
extensionsFields inherited from class com.jozufozu.flywheel.backend.gl.shader.GlProgram
name -
Constructor Summary
ConstructorsConstructorDescriptionContraptionProgram(net.minecraft.resources.ResourceLocation name, int handle) -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(com.mojang.math.Matrix4f model, net.minecraft.world.phys.AABB lightVolume) protected voidMethods inherited from class com.jozufozu.flywheel.core.shader.WorldProgram
bind, uploadCameraPos, uploadTime, uploadViewProjection, uploadWindowSizeMethods inherited from class com.jozufozu.flywheel.core.shader.ExtensibleGlProgram
toStringMethods inherited from class com.jozufozu.flywheel.backend.gl.shader.GlProgram
deleteInternal, getUniformLocation, setSamplerBinding, unbind, uploadMatrixUniformMethods inherited from class com.jozufozu.flywheel.backend.gl.GlObject
checkHandle, delete, handle, invalidateHandle, isInvalid, setHandle
-
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:
registerSamplersin classcom.jozufozu.flywheel.core.shader.WorldProgram
-
bind
public void bind(com.mojang.math.Matrix4f model, net.minecraft.world.phys.AABB lightVolume)
-