Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Renderer.WebGL.Pipelines.UtilityPipeline
currentUnit: number
Description:
Holds the most recently assigned texture unit.
Treat this value as read-only.
Type:
number
Inherited from:
Phaser.Renderer.WebGL.WebGLPipeline#currentUnit
Since:
3.50.0
Source:
src/renderer/webgl/WebGLPipeline.js
(Line
236
)
Possible examples