postRenderOp function

void postRenderOp(
  1. int engineId,
  2. int rootId,
  3. Pointer<Void> data,
  4. int len,
)

Implementation

void postRenderOp(
  int engineId,
  int rootId,
  Pointer<Void> data,
  int len,
) {
  var dataList = data.cast<Uint8>().asTypedList(len);
  if (dataList.isNotEmpty) {
    var renderOpList = const StandardMessageCodec().decodeMessage(dataList.buffer.asByteData());
    final bridge = VoltronRenderBridgeManager.bridgeMap[engineId];
    if (bridge != null) {
      bridge.postRenderOp(rootId, renderOpList);
    }
  }
}