Home Reference Source
import {PixelReader} from './libs/cgl/pixelreader/pixelreader.js'
public class | source

PixelReader

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
Private Members
private

_finishedFence: boolean

private

_log: *

private

_pbo: *

private
private

_size: number

private

_wasTriggered: boolean

Method Summary

Public Methods
public

read(cgl: *, fb: *, pixelFormat: *, x: *, y: *, w: *, h: *, finishedcb: *): boolean

Private Methods
private

_fence(cgl: *): *

Public Constructors

public constructor() source

Public Members

public pixelData: * source

Private Members

private _finishedFence: boolean source

private _log: * source

private _pbo: * source

private _pixelData: * source

private _size: number source

private _wasTriggered: boolean source

Public Methods

public read(cgl: *, fb: *, pixelFormat: *, x: *, y: *, w: *, h: *, finishedcb: *): boolean source

Params:

NameTypeAttributeDescription
cgl *
fb *
pixelFormat *
x *
y *
w *
h *
finishedcb *

Return:

boolean

Private Methods

private _fence(cgl: *): * source

Params:

NameTypeAttributeDescription
cgl *

Return:

*