private void Resize(int width, int height)
{
if (this.backface2DTexture != null) { this.backface2DTexture.Dispose(); }
if (framebuffer != null) { framebuffer.Dispose(); }
this.width = width; this.height = height;
this.backface2DTexture = InitFace2DTexture(width, height);
this.framebuffer = InitFramebuffer(width, height);
RaycastingSetupUniforms();
}