![JAR search and dependency download from the Maven repository](/logo.png)
com.uwsoft.editor.renderer.components.ShaderComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of overlap2d-runtime-libgdx Show documentation
Show all versions of overlap2d-runtime-libgdx Show documentation
overlap2d-runtime-libgdx provides functionality to load, manipulate and render scenes generated by Overlap2D.
The newest version!
package com.uwsoft.editor.renderer.components;
import com.badlogic.ashley.core.Component;
import com.badlogic.gdx.graphics.glutils.ShaderProgram;
public class ShaderComponent implements Component {
public String shaderName;
private ShaderProgram shaderProgram = null;
public void setShader(String name, ShaderProgram program) {
shaderName = name;
shaderProgram = program;
}
public ShaderProgram getShader() {
return shaderProgram;
}
public void clear() {
shaderName = null;
shaderProgram = null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy