setSize(width, height) { if (this.sampleRenderTarget != null) this.sampleRenderTarget!.setSize(width, height); }