dispose method

  1. @override
void dispose()
override

Implementation

@override
void dispose() {
  super.dispose();
  _lights.forEach(calloc.free);
  calloc.free(_lightInt8ValuePtr);
  calloc.free(_lightFloat3ValuePtr);
  calloc.free(_lightFloat4ValuePtr);
}