8 private const int textureSize = 64;
12 UnityEngine.Video.VideoClip[]
videos,
20 "Random swap (1KM) vs Random swap (2KM)"
23 foreach (UnityEngine.Video.VideoClip video in
this.videos)
25 for (
int numIterations = 1; numIterations < 31; numIterations++)
27 foreach (
int numIterationsKM
in new int[] { 1, 2, 3 })
32 numIterations: numIterations,
34 numIterationsKM: numIterationsKM
43 private static void AddRs(
45 UnityEngine.Video.VideoClip video,
53 iterations: numIterations,
54 iterationsKM: numIterationsKM
60 staggeredJitter:
false,
65 numIterations: numIterations,
66 doRandomizeEmptyClusters:
false,
67 useFullResTexRef:
false,
69 numIterationsKm: numIterationsKM
74 workingSize: textureSize,
readonly ComputeShader csHighlightRemoval
readonly UnityEngine.Video.VideoClip[] videos
readonly Stack< LaunchParameters > dispatches
Call Dispose after using.
RSnumKM(int kernelSize, UnityEngine.Video.VideoClip[] videos, ComputeShader csHighlightRemoval)
override BenchmarkDescription GenerateBenchmark()
Call Allocate before using and Dispose after using.
static bool IsNumIterationsValid(int iterationsKM, int iterations)
const int fullTextureSize