All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.web.webgl.WebGLProgram Maven / Gradle / Ivy

package js.web.webgl;

import org.teavm.jso.JSBody;

/**
 * The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
 */
public interface WebGLProgram extends WebGLObject {
    @JSBody(script = "return WebGLProgram.prototype")
    static WebGLProgram prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new WebGLProgram()")
    static WebGLProgram create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy