inputSourcePaths method

Set<String> inputSourcePaths()

Returns the list of input source paths

Implementation

Set<String> inputSourcePaths() {
  final paths = <String>{};

  for (var rp in renderPasses) {
    final inputs = rp.inputs;

    for (var i in inputs) {
      if (i.type == InputType.buffer || i.type == InputType.texture) {
        final src = i.src ?? i.filePath;
        if (src != null && src.isNotEmpty) {
          paths.add(picturePath(src));
        }
      }
    }
  }

  return paths;
}