Richard Davey
01150a6efc
Removed un-needed method
2022-10-09 17:49:21 +01:00
Richard Davey
6ff216d832
Create WebGLPipelineBatchEntry.js
2022-10-09 17:49:11 +01:00
Richard Davey
7600f2f6b6
Added all new jsdocs
2022-10-09 17:49:08 +01:00
Richard Davey
8ae585d3ac
Update CHANGELOG-v3.60.md
2022-10-09 17:30:39 +01:00
Richard Davey
a2d5f25a55
Added new method
2022-10-09 17:30:36 +01:00
Richard Davey
3c54c852dc
Don't forget to update the batch count
2022-10-09 17:30:27 +01:00
Richard Davey
70ef38c03c
Fixed rendering
2022-10-09 17:29:37 +01:00
Richard Davey
e44a148882
Store actual WebGLTextures
2022-10-09 17:29:29 +01:00
Richard Davey
44cf6da57b
Update eslint
2022-10-09 17:05:33 +01:00
Richard Davey
b318cd734f
Removed use of UUID from RenderTexture and fixed saveTexture method.
2022-10-09 16:01:06 +01:00
Richard Davey
57f2f7abd7
Broken for now
2022-10-07 18:03:16 +01:00
Richard Davey
025f036d06
Update CHANGELOG-v3.60.md
2022-10-07 16:28:20 +01:00
Richard Davey
5908eea4ce
Use new methods
2022-10-07 16:24:07 +01:00
Richard Davey
496882fbd2
Inc count on batchVert
2022-10-07 16:23:57 +01:00
Richard Davey
4a44bd6024
Update Texture.js
2022-10-07 16:23:34 +01:00
Richard Davey
c9e37ed373
Remove calls to resetTextures
2022-10-07 16:09:23 +01:00
Richard Davey
bfa0a7298a
Update TextureSource.js
...
* The `Textures.TextureSource.glIndex` property has been removed.
* The `Textures.TextureSource.glIndexCounter` property has been removed.
2022-10-07 16:08:50 +01:00
Richard Davey
080242f928
Due to all of the changes with how WebGL texture batching works a lot of mostly internal methods and properties have been removed. This is the complete list
...
* The `WebGLRenderer.currentActiveTexture` property has been removed.
* The `WebGLRenderer.startActiveTexture` property has been removed.
* The `WebGLRenderer.tempTextures` property has been removed.
* The `WebGLRenderer.textureZero` property has been removed.
* The `WebGLRenderer.normalTexture` property has been removed.
* The `WebGLRenderer.textueFlush` property has been removed.
* The `WebGLRenderer.isTextureClean` property has been removed.
* The `WebGLRenderer.setBlankTexture` method has been removed.
* The `WebGLRenderer.setTextureSource` method has been removed.
* The `WebGLRenderer.isNewNormalMap` method has been removed.
* The `WebGLRenderer.setTextureZero` method has been removed.
* The `WebGLRenderer.clearTextureZero` method has been removed.
* The `WebGLRenderer.setNormalMap` method has been removed.
* The `WebGLRenderer.clearNormalMap` method has been removed.
* The `WebGLRenderer.unbindTextures` method has been removed.
* The `WebGLRenderer.resetTextures` method has been removed.
* The `WebGLRenderer.setTexture2D` method has been removed.
* The `WebGLRenderer.pushFramebuffer` method has had the `resetTextures` argument removed.
* The `WebGLRenderer.setFramebuffer` method has had the `resetTextures` argument removed.
* The `WebGLRenderer.popFramebuffer` method has had the `resetTextures` argument removed.
* The `WebGLRenderer.deleteTexture` method has had the `reset` argument removed.
2022-10-07 16:08:39 +01:00
Richard Davey
5641bfe48c
Update index.js
2022-10-07 15:27:50 +01:00
Richard Davey
9d834efb0a
Update RenderTexture.js
2022-10-07 15:14:15 +01:00
Richard Davey
cbc0ac5a7a
Create a batch if empty
2022-10-07 12:47:04 +01:00
Richard Davey
9671e54e2b
Add Camera property
2022-10-07 12:46:54 +01:00
Richard Davey
f4a248e575
Debugging while testing texture batching
2022-10-07 01:37:37 +01:00
Richard Davey
e2187086ce
Merged batch code in
2022-10-07 01:37:17 +01:00
Richard Davey
e18c7fe6c9
New shaders
2022-10-07 01:36:58 +01:00
Richard Davey
712f2da88f
Update CHANGELOG-v3.60.md
2022-10-06 22:04:24 +01:00
Richard Davey
5aa1584360
TextureManager.silentWarnings
is a new boolean property that, when set, will prevent the Texture Manager from emiting any warnings or errors to the console in the case of missing texture keys or invalid texture access. The default is to display these warnings, this flag toggles that.
2022-10-06 22:04:21 +01:00
Richard Davey
eec60ea861
Update CHANGELOG-v3.60.md
2022-10-06 18:52:30 +01:00
Richard Davey
59166f5f3f
Fix #6239
2022-10-06 18:51:36 +01:00
Richard Davey
3f4ebf5dd7
Update WebGLRenderer.js
2022-10-06 18:35:04 +01:00
Richard Davey
f0d3588f7b
Use batch system to avoid bufferSubData spamming - massively improves performance!
2022-10-05 00:59:04 +01:00
Richard Davey
08ee414ad5
Inline array add to stop branching
2022-10-05 00:58:33 +01:00
Yuval Greenfield
7a4dd97793
Fix the typescript types in the js
...
This generates the desired phaser.d.ts
2022-10-04 10:48:21 -07:00
Richard Davey
ea5b28258e
Update CHANGELOG-v3.60.md
2022-10-04 18:46:36 +01:00
Richard Davey
010db3f2a3
Updated jsdocs
2022-10-04 18:27:19 +01:00
Richard Davey
ba8d25909f
Update PipelineManager.js
2022-10-04 18:27:11 +01:00
Richard Davey
03f09e2c10
Added setDefaultPipeline method
2022-10-04 18:20:17 +01:00
Richard Davey
f5960bea30
Get the default pipeline from the Pipeline Manager
2022-10-04 18:04:41 +01:00
Richard Davey
3d3b675ae8
Pass over the config values
2022-10-04 18:04:26 +01:00
Richard Davey
64972f8456
Added default pipeline and mobile swap
2022-10-04 18:04:18 +01:00
Richard Davey
fea000cf94
Added defaultPipeline and autoMobilePipeline configs
2022-10-04 18:04:01 +01:00
Richard Davey
eab535bdbd
Update CHANGELOG-v3.60.md
2022-10-04 17:08:53 +01:00
Richard Davey
20485e1aa2
Added MobilePipeline
2022-10-04 17:08:48 +01:00
Richard Davey
083100163b
Updates stableSort and added autoMobilePipeline
2022-10-04 17:08:34 +01:00
Richard Davey
0fe75e9969
Use new features.stableSort
2022-10-04 17:08:18 +01:00
Richard Davey
9688698954
Added stableSort and fixed final canvas read warning in Chrome
2022-10-04 17:08:09 +01:00
Richard Davey
0d6247e015
Update CHANGELOG-v3.60.md
2022-10-04 16:03:33 +01:00
Richard Davey
4a11ff9d80
Update CHANGELOG-v3.60.md
2022-10-04 15:42:29 +01:00
Richard Davey
20a40a8844
Updated docs
2022-10-04 15:42:25 +01:00
Richard Davey
56a1af3c05
Updated RenderTexture to just be an Image backed by a DynamicTexture
2022-10-04 14:49:47 +01:00