The renderer
Optionalconfig: {Worker initialization options
OptionalcallerName?: stringThe caller name
OptionalcontrolHash?: booleanShould use control hash?
Optionaldebug?: booleanEnable debug log?
Optionalformat?: FORMATSThe texture format
Debug flag.
StaticCOMPRESSION_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.