WebGLRenderDevice

View source

Constructor


constructor ( canvas?: HTMLCanvasElement , options?: WebGLContextAttributes )

View source

Parameters

Name Description Default
canvas? — —
options? — —

Properties


readonly context : WebGL2RenderingContext

View source

Methods


copyRenderBufferToTexture ( source: WebGLRenderbuffer , sourceFormat: number , destination: GPUTexture ) : void

View source

Parameters

Name Description Default
source — —
sourceFormat — —
destination — —