36 lines
426 B
JavaScript
36 lines
426 B
JavaScript
|
|
/**
|
||
|
|
* Kepler - Core
|
||
|
|
*
|
||
|
|
* All rights reserved.
|
||
|
|
*
|
||
|
|
* Author: Kaj Dijksta
|
||
|
|
*
|
||
|
|
**/
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Program info Object
|
||
|
|
* Object preserved to store a glsl program
|
||
|
|
*/
|
||
|
|
class programInfo{
|
||
|
|
|
||
|
|
constructor() {
|
||
|
|
|
||
|
|
this.url;
|
||
|
|
this.program;
|
||
|
|
this.pragmas;
|
||
|
|
this.librarys;
|
||
|
|
|
||
|
|
this.rawData;
|
||
|
|
this.vertexShader;
|
||
|
|
this.fragmentShader;
|
||
|
|
this.vertexShaderData;
|
||
|
|
this.fragmentShaderData;
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
export {programInfo as default};
|