Class InstancedParticleRenderer
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.opengl.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)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
fragmentShaderPath
static java.lang.String
vertexShaderPath
-
Constructor Summary
Constructors Constructor Description InstancedParticleRenderer()
-
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)
-
-
-
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
-
-
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)
-
-