public GLPostbuffer(RenderSettings settings) { int b, t; GLUtils.GenFrameBufferTexture(settings.width, settings.height, out b, out t); BufferID = b; TextureID = t; }
public GLPostbuffer(int width, int height) { int b, t; GLUtils.GenFrameBufferTexture(width, height, out b, out t); BufferID = b; TextureID = t; }