paintgl
Type aliases
BlendMode: "src" | "src-over" | "src-in" | "src-out" | "src-atop" | "dst" | "dst-over" | "dst-in" | "dst-out" | "dst-atop"
ImageSource: ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement
PixelFormat: "alpha" | "rgb" | "rgba"
The pixel format of the texture.
PixelType: "byte" | "half-float" | "float"
The pixel type of the texture.
ShapeUsage: "static" | "stream" | "dynamic"
TextureFilter: "nearest" | "mipmap-nearest" | "bilinear" | "mipmap-bilinear" | "trilinear"
The texture filter that is used in scaling.
BlendMode represents how drawn color and destination color are blended.