Structsยง
- Framebuffer
Rebinding ๐Flags - Framebuffer
Rebinding ๐Info - GLContext
Data ๐ - GLState
- WebGL
Context ๐Info - Helper struct to store cached WebGLContext information.
- WebGL
Impl - 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ยง
- ANGLE_
NAME_ ๐PREFIX - ANGLE adds a
_uprefix to variable names: - SAFE_
VIEWPORT_ ๐DIMS
Traitsยง
Functionsยง
- clamp_
viewport ๐ - flip_
pixels_ ๐y - Flips the pixels in the Vec on the Y axis.
- from_
name_ ๐in_ compiled_ shader - Removes
_uprefix from variable names - image_
to_ ๐tex_ image_ data - Translates an image in rgba8 (red in the first byte) format to the format that was requested of TexImage.
- map_
dot_ ๐separated - native_
uniform_ ๐location - premultiply_
inplace ๐ - prepare_
pixels ๐ - to_
name_ ๐in_ compiled_ shader - Adds
_uprefix to variable names
Type Aliasesยง
- GLint ๐
- WebGL
Context Busy Map - A map which tracks whether a given WebGL context is โbusyโ ie whether WebRender has
currently taken a surface from its [
SwapChain] for rendering purposes. Contexts will only be deleted once no WebRender instance is using it for rendering. This ensures that all SurfmanSurfaces can be released properly on theWebGLThread.