예제 #1
0
        public GLPostbuffer(RenderSettings settings)
        {
            int b, t;

            GLUtils.GenFrameBufferTexture(settings.width, settings.height, out b, out t);
            BufferID  = b;
            TextureID = t;
        }
예제 #2
0
        public GLPostbuffer(int width, int height)
        {
            int b, t;

            GLUtils.GenFrameBufferTexture(width, height, out b, out t);
            BufferID  = b;
            TextureID = t;
        }