To better encapsulate the operations directly related to WebGL, the two chunks of code related to enumerating attributes and uniforms from WebGLPrograms in lib/gill/program/service.class.ts starting at line 46 need to move to the GillWebglService type and implementation instead.
The attribute enumeration code needs moved to gillWebglService.getAttributes(webglProgram, webglRenderingContext).
The uniform enumeration code needs moved to gillWebglService.getUniforms(webglProgram, webglRenderingContext).
To better encapsulate the operations directly related to WebGL, the two chunks of code related to enumerating attributes and uniforms from
WebGLProgram
s inlib/gill/program/service.class.ts
starting at line46
need to move to theGillWebglService
type and implementation instead.The attribute enumeration code needs moved to
gillWebglService.getAttributes(webglProgram, webglRenderingContext)
.The uniform enumeration code needs moved to
gillWebglService.getUniforms(webglProgram, webglRenderingContext)
.