【3.0.0-Preview.1】截屏相关的RenderTexture如何使用,求大佬解惑

官方3.0的文档内关于RenderTexture的使用如下:


在编辑器中使用时却报错,并无此参数:

还有就是,3.0的RenderTexture继承自Asset,而之前的继承自Texture2D,是不是3.0的屏幕截屏不使用RenderTexture来处理还是怎么做?

const colorAttachment = new GFXColorAttachment();
const depthStencilAttachment = new GFXDepthStencilAttachment();
this.renderTex = new RenderTexture();
this.renderTex.reset({
  width: 1280 * 1.5,
  height: 720 * 1.5,
  passInfo: {
    colorAttachments: [colorAttachment],
    depthStencilAttachment,
  },
});