public DrawBufferValue(OpenglGpuImpl OpenglGpuImpl, DrawBufferKey DrawBufferKey) { this.OpenglGpuImpl = OpenglGpuImpl; this.DrawBufferKey = DrawBufferKey; OpenglGpuImpl.OnScaleViewport += UpdateTextures_External; UpdateTextures(OpenglGpuImpl.ScaleViewport); }