public bool Init(BufferCorrection correction) { _strCorrection = correction; correctionFactor = 0; SetEffectTypeLabel(_strCorrection.type); return(true); }
public bool Init(BufferCorrection correction) { this._strCorrection = correction; this.correctionFactor = 0; this.SetEffectTypeLabel(this._strCorrection.type); return(true); }
public BufferEffect(UILabel effectType, UITexture separator, UILabel value, BufferCorrection correction) { _uiEffectType = effectType; _uiSeparator = separator; _uiValue = value; _strCorrection = correction; }
static void Bootstrap() { var single = Single; bufferCorrection = single._bufferCorrection; if (bufferCorrection == BufferCorrection.Manual) { //targetBufferSize = single._targetBufferSize; minBufferSize = single._minBufferSize; maxBufferSize = single._maxBufferSize; } //else if (bufferCorrection == BufferCorrection.Auto) //{ // //targetBufferSize = single._targetBufferSize; // minBufferSize = single._minBufferSize; // maxBufferSize = single._maxBufferSize; //} //frameCount = (int)single._frameCount; //halfFrameCount = frameCount / 2; //thirdFrameCount = frameCount / 3; //quaterFrameCount = frameCount / 4; //frameCountBits = Compression.FloatCrusher.GetBitsForMaxValue((uint)frameCount); }