{"size": 686, "ext": "js", "max_stars_repo_path": "bin/GLProgram.js", "max_stars_repo_name": "asurance/XGL", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "bin/GLProgram.js", "max_issues_repo_name": "asurance/XGL", "max_issues_repo_issues_event_min_datetime": "2019-02-18T06:13:27.000Z", "max_issues_repo_issues_event_max_datetime": "2019-02-18T06:13:27.000Z", "max_forks_repo_path": "bin/GLProgram.js", "max_forks_repo_name": "asurance/XGL", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 36.1052631579, "max_line_length": 71, "alphanum_fraction": 0.6253644315}
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    class GLProgram {
        constructor(vertexShader, fragmentShader) {
            this.VertexShader = vertexShader;
            this.FragmentShader = fragmentShader;
            this.uniform = {};
        }
        GetVertexByVertexShader(vertex) {
            return this.VertexShader(vertex, this.uniform);
        }
        GetColorByFragmentShader(varying, sampler) {
            return this.FragmentShader(this.uniform, varying, sampler);
        }
    }
    exports.GLProgram = GLProgram;
});
//# sourceMappingURL=GLProgram.js.map