public void reset () { calls = 0; textureBindings = 0; drawCalls = 0; shaderSwitches = 0; vertexCount.reset(); } }
public void reset () { calls = 0; textureBindings = 0; drawCalls = 0; shaderSwitches = 0; vertexCount.reset(); } }
/** Construct a new FloatCounter * @param windowSize The size of the mean window or 1 or below to not use a windowed mean. */ public FloatCounter (int windowSize) { mean = (windowSize > 1) ? new WindowedMean(windowSize) : null; reset(); }
/** Construct a new FloatCounter * @param windowSize The size of the mean window or 1 or below to not use a windowed mean. */ public FloatCounter (int windowSize) { mean = (windowSize > 1) ? new WindowedMean(windowSize) : null; reset(); }
public void reset () { calls = 0; textureBindings = 0; drawCalls = 0; shaderSwitches = 0; vertexCount.reset(); } }
/** Construct a new FloatCounter * @param windowSize The size of the mean window or 1 or below to not use a windowed mean. */ public FloatCounter (int windowSize) { mean = (windowSize > 1) ? new WindowedMean(windowSize) : null; reset(); }