Skip to main content

Class: TFrameBuffer

Defined in: renderer/frame-buffer.ts:6

Constructors​

Constructor​

new TFrameBuffer(gl, options): TFrameBuffer

Defined in: renderer/frame-buffer.ts:15

Parameters​

gl​

WebGL2RenderingContext

options​

TFrameBufferOptions

Returns​

TFrameBuffer

Properties​

depthTexture​

depthTexture: WebGLTexture

Defined in: renderer/frame-buffer.ts:9

Accessors​

colorTexture​

Get Signature​

get colorTexture(): WebGLTexture

Defined in: renderer/frame-buffer.ts:11

Returns​

WebGLTexture

Methods​

bind()​

bind(): void

Defined in: renderer/frame-buffer.ts:89

Bind the frame buffer and set the viewport to the frame buffer size

Returns​

void


dispose()​

dispose(): void

Defined in: renderer/frame-buffer.ts:98

Returns​

void


unbind()​

unbind(): void

Defined in: renderer/frame-buffer.ts:94

Returns​

void