Module canvas::webgl_thread
source ยท Structsยง
- GLContext
Data ๐ - WebGL
Context ๐Info Helper struct to store cached WebGLContext information. - WebGL Commands Implementation
- WebGL
Thread ๐A WebGLThread manages the life cycle and message multiplexing of a set of WebGLContexts living in the same thread. - WebGL
Thread ๐Init The data required to initialize an instance of the WebGLThread type.
Constantsยง
- ANGL
E_ ๐NAME_ PREFIX ANGLE adds a_u
prefix to variable names: - SAFE_
VIEWPOR ๐T_ DIMS
Traitsยง
- ToSurfman
Version ๐
Functionsยง
- clamp_
viewport ๐ - flip_
pixels_ ๐y Flips the pixels in the Vec on the Y axis. - Removes
_u
prefix from variable names - Translates an image in rgba8 (red in the first byte) format to the format that was requested of TexImage.
- map_
dot_ ๐separated - premultiply_
inplace ๐ - prepare_
pixels ๐ - Adds
_u
prefix to variable names