CSPspEmu.Core.Gpu.Impl.Opengl.Modules.RenderbufferManager.DrawBufferValue.Bind C# (CSharp) Method

Bind() public method

public Bind ( ) : void
return void
            public void Bind()
            {
                if (MustUpdateRenderTarget)
                {
                    Unbind();
                    UpdateTextures(MustUpdateRenderTarget_ScaleViewport);
                }
                if (!Binded)
                {
                    RenderTarget.Bind();
                    //GL.glViewport(0, 0, Width, Height);
                    Binded = true;
                    UnbindedEvent.Reset();
                }
            }