Class Shader

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Shader
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • auxAssets

        private final java.util.List<java.util.function.IntSupplier> auxAssets
      • auxNames

        private final java.util.List<java.lang.String> auxNames
      • auxWidths

        private final java.util.List<java.lang.Integer> auxWidths
      • auxHeights

        private final java.util.List<java.lang.Integer> auxHeights
      • shaderOrthoMatrix

        private Matrix4f shaderOrthoMatrix
    • Constructor Detail

      • Shader

        public Shader​(IResourceManager p_i45089_1_,
                      java.lang.String p_i45089_2_,
                      Framebuffer p_i45089_3_,
                      Framebuffer p_i45089_4_)
               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • addAuxAsset

        public void addAuxAsset​(java.lang.String p_148041_1_,
                                java.util.function.IntSupplier p_148041_2_,
                                int p_148041_3_,
                                int p_148041_4_)
      • setOrthoMatrix

        public void setOrthoMatrix​(Matrix4f p_195654_1_)
      • process

        public void process​(float p_148042_1_)