prepareSlots method
void
prepareSlots(
- dynamic programHandle,
- dynamic gl
Implementation
void prepareSlots(dynamic programHandle, gl) {
positionSlot = gl.getAttribLocation(programHandle, 'vPosition');
textureSlot = gl.getAttribLocation(programHandle, 'vTex');
colorSlot = gl.getAttribLocation(programHandle, 'vColor');
//bindtexture = gl.getUniformLocation(programHandle, 'tTexture');
//print('bindtexture slot: $bindtexture');
cameraSlot = gl.getUniformLocation(programHandle, 'camera');
}