mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 12:36:37 +02:00
Added WebGLRenderingContext.readPixels to readout API
This commit is contained in:
parent
2a4aeecb2c
commit
72d5d09c29
2 changed files with 4 additions and 0 deletions
Binary file not shown.
|
@ -74,6 +74,10 @@
|
||||||
}
|
}
|
||||||
return imageData;
|
return imageData;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
readPixels: {
|
||||||
|
mode: blockMode.readAPI,
|
||||||
|
object: unsafeWindow.WebGLRenderingContext
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue