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
      • 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
      • 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
      • ImageCollection
      • LayerData
      • MapData
      • ObjectHelper
      • ObjectLayer
      • Tile
      • Tilemap
      • TilemapLayer
      • Tileset
  • Namespaces241
    • Phaser
    • Actions
    • Animations
    • BlendModes
    • Cache
    • Cameras
    • Core
    • Create
    • Curves
    • Data
    • Device
    • Display
    • DOM
    • Events
    • FX
    • GameObjects
    • Geom
    • Input
    • 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
    • Plugins
    • Renderer
      • Canvas
      • Events
      • Snapshot
      • WebGL
      • WebGL.Pipelines
      • WebGL.Pipelines.Events
      • WebGL.Pipelines.FX
      • WebGL.Shaders
      • WebGL.Utils
      • WebGL.Wrappers
    • Scale
    • ScaleModes
    • Scenes
    • Sound
    • Structs
    • Textures
    • Tilemaps
    • Time
    • Tweens
    • 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
  • Events22
  • Functions20
    • Actions
    • Core
    • Create
    • Curves
    • Display
    • DOM
    • GameObjects
    • Geom
    • Input
    • Loader
    • Math
    • Physics
    • Plugins
    • Renderer
    • Scenes
    • Sound
    • Textures
    • Tilemaps
    • Tweens
    • Utils
  • Constants14
  • Typedefs50

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