예제 #1
0
        public bool Begin()
        {
            _graphics.BindTexture2D(Texture.ID);
            _graphics.BindFrameBuffer(_fbo);
            _graphics.FrameBufferTexture2D(Texture.ID);
            _graphics.BindTexture2D(0);
            if (!_graphics.DrawFrameBuffer())
            {
                return(false);
            }

            _graphics.Viewport(0, 0, _width, _height);
            return(true);
        }