Class
CanvasTarget
View sourceExtends RenderTarget
Constructor
View source
Methods
getCurrentTexture ( device: WebGLRenderDevice ) : GPUTexture
View source Returns the native canvas framebuffer as a GPUTexture-shaped render
attachment. Its inner value is null because the framebuffer is owned by
the WebGL context rather than represented by a WebGLTexture.