Reference Source
public class | source

FrameBuffer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

buf: *

public

canvas: *

public
public
public
public
public

gl: *

public
public
public
public
public

Method Summary

Public Methods
public

bind()

public

clear()

public
public

getColorTarget(i: *): {"bind": *, "unbind": *, "texture": *}

public

getDepthTarget(): {"bind": *, "unbind": *, "texture": *}

public

read(pickX: *, pickY: *): *

public

unbind()

public

webglRestored(_gl: *)

Public Constructors

public constructor() source

Public Members

public allocated: boolean source

public bound: boolean source

public buf: * source

public canvas: * source

public canvasHeight: number source

public canvasWidth: number source

public colorAttachments: * source

public drawBuffers: * source

public gl: * source

public hasDepthAttachment: * source

public numColorAttachments: * source

public sharedDepthBuffer: * source

public sizeRatio: * source

public useDepthTextures: * source

Public Methods

public bind() source

public clear() source

public destroy() source

public getColorTarget(i: *): {"bind": *, "unbind": *, "texture": *} source

Params:

NameTypeAttributeDescription
i *

Return:

{"bind": *, "unbind": *, "texture": *}

public getDepthTarget(): {"bind": *, "unbind": *, "texture": *} source

Return:

{"bind": *, "unbind": *, "texture": *}

public read(pickX: *, pickY: *): * source

Params:

NameTypeAttributeDescription
pickX *
pickY *

Return:

*

public unbind() source

public webglRestored(_gl: *) source

Params:

NameTypeAttributeDescription
_gl *