public class Shader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Framebuffer |
framebufferIn |
Framebuffer |
framebufferOut |
Constructor and Description |
---|
Shader(IResourceManager resourceManager,
java.lang.String programName,
Framebuffer framebufferInIn,
Framebuffer framebufferOutIn) |
Modifier and Type | Method and Description |
---|---|
void |
addAuxFramebuffer(java.lang.String auxName,
java.lang.Object auxFramebufferIn,
int width,
int height) |
void |
deleteShader() |
ShaderManager |
getShaderManager() |
void |
render(float partialTicks) |
void |
setProjectionMatrix(org.lwjgl.util.vector.Matrix4f projectionMatrixIn) |
public final Framebuffer framebufferIn
public final Framebuffer framebufferOut
public Shader(IResourceManager resourceManager, java.lang.String programName, Framebuffer framebufferInIn, Framebuffer framebufferOutIn) throws JsonException, java.io.IOException
JsonException
java.io.IOException
public void deleteShader()
public void addAuxFramebuffer(java.lang.String auxName, java.lang.Object auxFramebufferIn, int width, int height)
public void setProjectionMatrix(org.lwjgl.util.vector.Matrix4f projectionMatrixIn)
public void render(float partialTicks)
public ShaderManager getShaderManager()