Package com.hbm_m.client.render.shader
package com.hbm_m.client.render.shader
-
ClassDescriptionХелпер для совместимости BufferBuilder с Iris/Oculus.Resolves
ModelViewMat/ inverse / normal matrix uniform locations for IrisExtendedShaderprograms with GL type validation.Reflective bridge to Iris/Oculus internals that exposes theShaderInstance(anExtendedShaderwhen Iris is active) to be used for our own raw GL draws while a shader pack is in use.Try-with-resources scope helper that callsWorldRenderingPipeline.setPhase(WorldRenderingPhase.<phase>)on entry and restoresWorldRenderingPhase.NONEon close.Safe wrapper aroundShaderInstance.apply()for IrisExtendedShaderinstances whose sampler/image bindings can throwIllegalStateException: Tried to use a destroyed GlResourcewhen the pipeline was rebuilt or the render phase moved on.