Class InstancedParticleRenderer


  • public class InstancedParticleRenderer
    extends java.lang.Object
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void appendParticle​(float posX, float posY, float posZ, int particleTextureX, int particleTextureY, int lightMapX, int lightMapY, int particleSize, int particleTexSize, float r, float g, float b, float a)  
      static void appendParticle​(float posX, float posY, float posZ, int particleTextureX, int particleTextureY, int lightMapX, int lightMapY, int particleSize, int particleTexSize, int rgba)  
      static void begin()  
      static void render​(float texCoordWidth, float texCoordHeight, float particleCoordSize, float transformParam1, float transformParam2, float transformParam3, float transformParam4, float transformParam5)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • vertexShaderPath

        public static final java.lang.String vertexShaderPath
        See Also:
        Constant Field Values
      • fragmentShaderPath

        public static final java.lang.String fragmentShaderPath
        See Also:
        Constant Field Values
    • Constructor Detail

      • InstancedParticleRenderer

        public InstancedParticleRenderer()
    • Method Detail

      • begin

        public static void begin()
      • appendParticle

        public static void appendParticle​(float posX,
                                          float posY,
                                          float posZ,
                                          int particleTextureX,
                                          int particleTextureY,
                                          int lightMapX,
                                          int lightMapY,
                                          int particleSize,
                                          int particleTexSize,
                                          float r,
                                          float g,
                                          float b,
                                          float a)
      • appendParticle

        public static void appendParticle​(float posX,
                                          float posY,
                                          float posZ,
                                          int particleTextureX,
                                          int particleTextureY,
                                          int lightMapX,
                                          int lightMapY,
                                          int particleSize,
                                          int particleTexSize,
                                          int rgba)
      • render

        public static void render​(float texCoordWidth,
                                  float texCoordHeight,
                                  float particleCoordSize,
                                  float transformParam1,
                                  float transformParam2,
                                  float transformParam3,
                                  float transformParam4,
                                  float transformParam5)