releaseStatesOfProgram method

void releaseStatesOfProgram(
  1. dynamic program
)

Implementation

void releaseStatesOfProgram(program) {
  print(" WebGLBindingStates releaseStatesOfProgram ");

  // for ( var geometryId in bindingStates ) {

  // 	var programMap = bindingStates[ geometryId ];

  // 	if ( programMap[ program.id ] == null ) continue;

  // 	var stateMap = programMap[ program.id ];

  // 	for ( var wireframe in stateMap ) {

  // 		deleteVertexArrayObject( stateMap[ wireframe ].object );

  // 		delete stateMap[ wireframe ];

  // 	}

  // 	delete programMap[ program.id ];

  // }
}