The renderer
Optional
config: {Worker initialization options
Optional
callerName?: stringThe caller name
Optional
controlHash?: booleanShould use control hash?
Optional
debug?: booleanEnable debug log?
Optional
format?: FORMATSThe texture format
Debug flag.
Static
COMPRESSION_List of compression that could be applied with extraction
The texture format on which the Texture Extractor must work.
The WebGL2 renderer.
The texture type on which the Texture Extractor must work.
Called by the renderer contextChange runner.
Destroy this TextureExtractor.
Extract a rectangular block of pixels from the texture (without un-pre-multiplying).
Options which configure pixels extraction behavior
The pixels or undefined if there's no change compared to the last time pixels were extracted and the control hash option is enabled. If an output buffer was passed, the (new) output buffer is included in the result, which may be different from the output buffer that was passed because it was detached.
Options which configure base64 extraction behavior
The base64 string or undefined if there's no change compared to the last time base64 was extracted and the control hash option is enabled.
Free all the bound objects.
A class or interface that provide support for WebGL async read pixel/texture data extraction.