Phaser home
Phaser AEOpen source
Phaser 4DownloadLearnEditorToolsDocsExamplesNews
Log in

This page is for Phaser 3, the open-source framework.

NewPhaser AE gives your AI agent a crew of bots to design, draw, score and build your game, in 2D and 3D.

Try Phaser AE
GuideAPIEditor
  • Overview
  • Game Objects
  • Physics
  • Classes280
    • Class
    • Game
    • Scene
      • Animation
      • AnimationFrame
      • AnimationManager
      • AnimationState
      • BaseCache
      • CacheManager
      • Controls.FixedKeyControl
      • Controls.SmoothedKeyControl
      • Scene2D.BaseCamera
      • Scene2D.Camera
      • Scene2D.CameraManager
      • Scene2D.Effects.Fade
      • Scene2D.Effects.Flash
      • Scene2D.Effects.Pan
      • Scene2D.Effects.RotateTo
      • Scene2D.Effects.Shake
      • Scene2D.Effects.Zoom
      • Config
      • TimeStep
      • CubicBezier
      • Curve
      • Ellipse
      • Line
      • MoveTo
      • Path
      • QuadraticBezier
      • Spline
      • DataManager
      • DataManagerPlugin
      • BaseShader
      • Color
      • ColorMatrix
      • Masks.BitmapMask
      • Masks.GeometryMask
      • RGB
      • RequestAnimationFrame
      • Barrel
      • Bloom
      • Blur
      • Bokeh
      • Circle
      • ColorMatrix
      • Controller
      • Displacement
      • Glow
      • Gradient
      • Pixelate
      • Shadow
      • Shine
      • Vignette
      • Wipe
      • Arc
      • BitmapText
      • Blitter
      • Bob
      • Components.FX
      • Components.TransformMatrix
      • Container
      • Curve
      • DisplayList
      • DOMElement
      • DynamicBitmapText
      • Ellipse
      • Extern
      • GameObject
      • GameObjectCreator
      • GameObjectFactory
      • Graphics
      • Grid
      • Group
      • Image
      • IsoBox
      • IsoTriangle
      • Layer
      • Light
      • LightsManager
      • LightsPlugin
      • Line
      • Mesh
      • NineSlice
      • Particles.EmitterColorOp
      • Particles.EmitterOp
      • Particles.GravityWell
      • Particles.Particle
      • Particles.ParticleBounds
      • Particles.ParticleEmitter
      • Particles.ParticleProcessor
      • Particles.Zones.DeathZone
      • Particles.Zones.EdgeZone
      • Particles.Zones.RandomZone
      • PathFollower
      • Plane
      • PointLight
      • Polygon
      • Rectangle
      • RenderTexture
      • Rope
      • Shader
      • Shape
      • Sprite
      • Star
      • Text
      • TextStyle
      • TileSprite
      • Triangle
      • UpdateList
      • Video
      • Zone
      • Circle
      • Ellipse
      • Line
      • Mesh.Face
      • Mesh.Vertex
      • Point
      • Polygon
      • Rectangle
      • Triangle
      • Gamepad.Axis
      • Gamepad.Button
      • Gamepad.Gamepad
      • Gamepad.GamepadPlugin
      • InputManager
      • InputPlugin
      • Keyboard.Key
      • Keyboard.KeyboardManager
      • Keyboard.KeyboardPlugin
      • Keyboard.KeyCombo
      • Mouse.MouseManager
      • Pointer
      • Touch.TouchManager
      • File
      • FileTypes.AnimationJSONFile
      • FileTypes.AsepriteFile
      • FileTypes.AtlasJSONFile
      • FileTypes.AtlasXMLFile
      • FileTypes.AudioFile
      • FileTypes.AudioSpriteFile
      • FileTypes.BinaryFile
      • FileTypes.BitmapFontFile
      • FileTypes.CompressedTextureFile
      • FileTypes.CSSFile
      • FileTypes.FontFile
      • FileTypes.GLSLFile
      • FileTypes.HTML5AudioFile
      • FileTypes.HTMLFile
      • FileTypes.HTMLTextureFile
      • FileTypes.ImageFile
      • FileTypes.JSONFile
      • FileTypes.MultiAtlasFile
      • FileTypes.MultiScriptFile
      • FileTypes.OBJFile
      • FileTypes.PackFile
      • FileTypes.PluginFile
      • FileTypes.SceneFile
      • FileTypes.ScenePluginFile
      • FileTypes.ScriptFile
      • FileTypes.SpriteSheetFile
      • FileTypes.SVGFile
      • FileTypes.TextFile
      • FileTypes.TilemapCSVFile
      • FileTypes.TilemapImpactFile
      • FileTypes.TilemapJSONFile
      • FileTypes.UnityAtlasFile
      • FileTypes.VideoFile
      • FileTypes.XMLFile
      • LoaderPlugin
      • MultiFile
      • Euler
      • Matrix3
      • Matrix4
      • Quaternion
      • RandomDataGenerator
      • Vector2
      • Vector3
      • Vector4
      • Arcade.ArcadePhysics
      • Arcade.Body
      • Arcade.Collider
      • Arcade.Factory
      • Arcade.Group
      • Arcade.Image
      • Arcade.Sprite
      • Arcade.StaticBody
      • Arcade.StaticGroup
      • Arcade.World
      • Matter.BodyBounds
      • Matter.Factory
      • Matter.Image
      • Matter.MatterPhysics
      • Matter.PointerConstraint
      • Matter.Sprite
      • Matter.TileBody
      • Matter.World
      • BasePlugin
      • PluginManager
      • ScenePlugin
      • Canvas.CanvasRenderer
      • WebGL.PipelineManager
      • WebGL.Pipelines.BitmapMaskPipeline
      • WebGL.Pipelines.FX.BarrelFXPipeline
      • WebGL.Pipelines.FX.BloomFXPipeline
      • WebGL.Pipelines.FX.BlurFXPipeline
      • WebGL.Pipelines.FX.BokehFXPipeline
      • WebGL.Pipelines.FX.CircleFXPipeline
      • WebGL.Pipelines.FX.ColorMatrixFXPipeline
      • WebGL.Pipelines.FX.DisplacementFXPipeline
      • WebGL.Pipelines.FX.GlowFXPipeline
      • WebGL.Pipelines.FX.GradientFXPipeline
      • WebGL.Pipelines.FX.PixelateFXPipeline
      • WebGL.Pipelines.FX.ShadowFXPipeline
      • WebGL.Pipelines.FX.ShineFXPipeline
      • WebGL.Pipelines.FX.VignetteFXPipeline
      • WebGL.Pipelines.FX.WipeFXPipeline
      • WebGL.Pipelines.FXPipeline
      • WebGL.Pipelines.LightPipeline
      • WebGL.Pipelines.MobilePipeline
      • WebGL.Pipelines.MultiPipeline
      • WebGL.Pipelines.PointLightPipeline
      • WebGL.Pipelines.PostFXPipeline
      • WebGL.Pipelines.PreFXPipeline
      • WebGL.Pipelines.RopePipeline
      • WebGL.Pipelines.SinglePipeline
      • WebGL.Pipelines.UtilityPipeline
      • WebGL.RenderTarget
      • WebGL.WebGLPipeline
      • WebGL.WebGLRenderer
      • WebGL.WebGLShader
      • WebGL.Wrappers.WebGLAttribLocationWrapper
      • WebGL.Wrappers.WebGLBufferWrapper
      • WebGL.Wrappers.WebGLFramebufferWrapper
      • WebGL.Wrappers.WebGLProgramWrapper
      • WebGL.Wrappers.WebGLTextureWrapper
      • WebGL.Wrappers.WebGLUniformLocationWrapper
      • SceneManager
      • ScenePlugin
      • Systems
      • BaseSound
      • BaseSoundManager
      • HTML5AudioSound
      • HTML5AudioSoundManager
      • NoAudioSound
      • NoAudioSoundManager
      • WebAudioSound
      • WebAudioSoundManager
      • List
      • Map
      • ProcessQueue
      • RTree
      • Set
      • Size
      • CanvasTexture
      • DynamicTexture
      • Frame
      • Texture
      • TextureManager
      • TextureSource
      • ImageCollection
      • LayerData
      • MapData
      • ObjectHelper
      • ObjectLayer
      • Tile
      • Tilemap
      • TilemapLayer
      • Tileset
      • BaseTween
      • BaseTweenData
      • Tween
      • TweenChain
      • TweenData
      • TweenFrameData
      • TweenManager
  • Namespaces241
    • Phaser
    • Actions
    • Animations
    • BlendModes
    • Cache
      • Events
    • Cameras
      • Controls
      • Scene2D
      • Scene2D.Effects
      • Scene2D.Events
    • Core
      • Events
    • Create
      • Palettes
    • Curves
    • Data
    • Device
    • Display
      • Align
      • Align.In
      • Align.To
      • Bounds
      • Canvas
      • Canvas.CanvasInterpolation
      • Canvas.CanvasPool
      • Canvas.Smoothing
      • Color
      • Color.Interpolate
      • Masks
    • DOM
    • Events
    • FX
    • GameObjects
      • Components
      • Components.Alpha
      • Components.AlphaSingle
      • Components.BlendMode
      • Components.ComputedSize
      • Components.Crop
      • Components.Depth
      • Components.Flip
      • Components.GetBounds
      • Components.Mask
      • Components.Origin
      • Components.PathFollower
      • Components.Pipeline
      • Components.PostPipeline
      • Components.ScrollFactor
      • Components.Size
      • Components.Texture
      • Components.TextureCrop
      • Components.Tint
      • Components.Transform
      • Components.Visible
      • Events
      • Particles
      • Particles.Events
      • Particles.Zones
      • RetroFont
    • Geom
      • Intersects
      • Mesh
    • Input
      • Events
      • Gamepad
      • Gamepad.Configs
      • Gamepad.Configs.DUALSHOCK_4
      • Gamepad.Configs.SNES_USB
      • Gamepad.Configs.XBOX_360
      • Gamepad.Events
      • InputPluginCache
      • Keyboard
      • Keyboard.Events
      • Keyboard.KeyCodes
      • Mouse
      • Touch
    • Loader
      • Events
      • FileTypes
      • FileTypesManager
    • Math
      • Angle
      • Distance
      • Easing
      • Easing.Back
      • Easing.Bounce
      • Easing.Circular
      • Easing.Cubic
      • Easing.Elastic
      • Easing.Expo
      • Easing.Quadratic
      • Easing.Quartic
      • Easing.Quintic
      • Easing.Sine
      • Easing.Stepped
      • Fuzzy
      • Interpolation
      • Pow2
      • Snap
    • Physics
      • Arcade
      • Arcade.Components
      • Arcade.Components.Acceleration
      • Arcade.Components.Angular
      • Arcade.Components.Bounce
      • Arcade.Components.Collision
      • Arcade.Components.Debug
      • Arcade.Components.Drag
      • Arcade.Components.Enable
      • Arcade.Components.Friction
      • Arcade.Components.Gravity
      • Arcade.Components.Immovable
      • Arcade.Components.Mass
      • Arcade.Components.Pushable
      • Arcade.Components.Size
      • Arcade.Components.Velocity
      • Arcade.Events
      • Arcade.ProcessX
      • Arcade.ProcessY
      • Arcade.Tilemap
      • Matter
      • Matter.Components
      • Matter.Components.Bounce
      • Matter.Components.Collision
      • Matter.Components.Force
      • Matter.Components.Friction
      • Matter.Components.Gravity
      • Matter.Components.Mass
      • Matter.Components.Sensor
      • Matter.Components.SetBody
      • Matter.Components.Sleep
      • Matter.Components.Static
      • Matter.Components.Transform
      • Matter.Components.Velocity
      • Matter.Events
      • Matter.Matter
      • Matter.PhysicsEditorParser
      • Matter.PhysicsJSONParser
    • Plugins
      • DefaultPlugins
      • PluginCache
    • Renderer
      • Canvas
      • Events
      • Snapshot
      • WebGL
      • WebGL.Pipelines
      • WebGL.Pipelines.Events
      • WebGL.Pipelines.FX
      • WebGL.Shaders
      • WebGL.Utils
      • WebGL.Wrappers
    • Scale
      • Center
      • Events
      • Orientation
      • ScaleModes
      • Zoom
    • ScaleModes
    • Scenes
    • Sound
    • Structs
      • Events
    • Textures
      • Events
      • FilterMode
      • Parsers
    • Tilemaps
      • Components
      • Formats
      • Orientation
      • Parsers
      • Parsers.Impact
      • Parsers.Tiled
    • Time
      • Events
    • Tweens
      • Builders
      • Events
      • States
    • Types
      • Actions
      • Animations
      • Cameras
      • Cameras.Controls
      • Cameras.Scene2D
      • Core
      • Create
      • Curves
      • Display
      • GameObjects
      • GameObjects.BitmapText
      • GameObjects.Container
      • GameObjects.Graphics
      • GameObjects.Group
      • GameObjects.Mesh
      • GameObjects.NineSlice
      • GameObjects.Particles
      • GameObjects.PathFollower
      • GameObjects.Plane
      • GameObjects.RenderTexture
      • GameObjects.Rope
      • GameObjects.Shader
      • GameObjects.Sprite
      • GameObjects.Text
      • GameObjects.TileSprite
      • GameObjects.Video
      • GameObjects.Zone
      • Geom
      • Geom.Mesh
      • Input
      • Input.Gamepad
      • Input.Keyboard
      • Loader
      • Loader.FileTypes
      • Math
      • Physics
      • Physics.Arcade
      • Physics.Matter
      • Plugins
      • Renderer
      • Renderer.Snapshot
      • Renderer.WebGL
      • Scenes
      • Sound
      • Textures
      • Tilemaps
      • Time
      • Tweens
    • Utils
      • Array
      • Array.Matrix
      • Base64
      • Objects
      • String
  • Events22
    • Animations.Events
    • Cache.Events
    • Cameras.Scene2D.Events
    • Core.Events
    • Data.Events
    • GameObjects.Events
    • GameObjects.Particles.Events
    • Input.Events
    • Input.Gamepad.Events
    • Input.Keyboard.Events
    • Loader.Events
    • Physics.Arcade.Events
    • Physics.Matter.Events
    • Renderer.Events
    • Renderer.WebGL.Pipelines.Events
    • Scale.Events
    • Scenes.Events
    • Sound.Events
    • Structs.Events
    • Textures.Events
    • Time.Events
    • Tweens.Events
  • Functions20
    • Actions
    • Core
    • Create
    • Curves
    • Display
    • DOM
    • GameObjects
    • Geom
    • Input
    • Loader
    • Math
    • Physics
    • Plugins
    • Renderer
    • Scenes
    • Sound
    • Textures
    • Tilemaps
    • Tweens
    • Utils
  • Constants14
    • BlendModes
    • Core
    • Display
    • FX
    • GameObjects
    • Input
    • Math
    • Phaser
    • Renderer
    • Scale
    • Structs
    • Textures
    • Tilemaps
    • Tweens
  • Typedefs50
    • Actions
    • Animations
    • Cameras.Controls
    • Cameras.Scene2D
    • Core
    • Create
    • Curves
    • Device
    • Display
    • GameObjects
    • GameObjects.BitmapText
    • GameObjects.Container
    • GameObjects.Graphics
    • GameObjects.Group
    • GameObjects.Mesh
    • GameObjects.NineSlice
    • GameObjects.Particles
    • GameObjects.PathFollower
    • GameObjects.Plane
    • GameObjects.RenderTexture
    • GameObjects.Rope
    • GameObjects.Shader
    • GameObjects.Sprite
    • GameObjects.Text
    • GameObjects.TileSprite
    • GameObjects.Video
    • GameObjects.Zone
    • Geom.Mesh
    • Input
    • Input.Gamepad
    • Input.Keyboard
    • Loader
    • Loader.FileTypes
    • Math
    • Phaser
    • Physics.Arcade
    • Physics.Matter
    • Physics.Matter.Events
    • Plugins
    • Renderer.Snapshot
    • Renderer.WebGL
    • Scale
    • Scenes
    • Sound
    • Textures
    • Tilemaps
    • Tilemaps
    • Time
    • Tweens
    • Tweens

You’re reading the docs for Phaser v3.90.0. The latest is Phaser v4.1.0.

Phaser v3.90.0NamespacesRenderer

Phaser.Renderer.WebGL.Wrappers

Scope: static

Source: src/renderer/webgl/wrappers/index.js#L7

Static functions

  • WebGLAttribLocationWrapper
  • WebGLBufferWrapper
  • WebGLFramebufferWrapper
  • WebGLProgramWrapper
  • WebGLTextureWrapper
  • WebGLUniformLocationWrapper
PreviousPhaser.Renderer.WebGL.UtilsNext Phaser.Scale
Phaser AE

Phaser AE gives your AI agent a crew of bots to design, draw, score and build your game, in 2D and 3D.

Try Phaser AE

Phaser empowers you to create the game you want to play.Agentic game development, at the heart of the engine used by more than 150,000 developers.

Make a game

  • Create a game
  • How it works
  • Build with your agent
  • The crew
  • The tools
  • Expansion packs
  • Pricing

Phaser AE

  • News
  • Games
  • API docs
  • Engine license
  • Decompilation policy
  • Contact us
  • Privacy and cookies
  • Terms of use
Phaser is open source too.The free HTML5 game framework, used for over a decade. Phaser 4, the editor and every tutorial are over here.
© 2026 Phaser Studio Inc. All rights reserved.For AI agents