Richard Davey
963ff647e6
Testing out a possible FX Pipeline
2023-02-13 01:30:22 +00:00
Richard Davey
cf6b0971cb
Renaming SpriteFX to PreFX
2023-02-12 21:08:58 +00:00
Richard Davey
a493f51192
Set the Post Pipeline name into the instance correctly, so we can pass by reference to setPostPipeline
2023-02-03 18:26:56 +00:00
Richard Davey
468bf7821d
Updated copyright year
2023-01-02 17:36:27 +00:00
Richard Davey
1e9bb686d3
When calling PipelineManager.clear
and rebind
it will now check if the vao extension is available, and if so, it'll bind a null vertex array. This helps clean-up from 3rd party libs that don't do this directly, such as ThreeJS.
2022-11-29 23:38:47 +00:00
Richard Davey
c9e37ed373
Remove calls to resetTextures
2022-10-07 16:09:23 +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
64972f8456
Added default pipeline and mobile swap
2022-10-04 18:04:18 +01:00
Richard Davey
20485e1aa2
Added MobilePipeline
2022-10-04 17:08:48 +01:00
Richard Davey
554ef91353
Correct docs
2022-10-04 14:49:26 +01:00
Richard Davey
f09ec762ee
Removed Graphics Pipeline
...
The WebGL Graphics Pipeline has been removed. This pipeline wasn't used in v3.55, as all Graphics rendering is handled by the MultiTint pipeline, for better batching support. No Phaser Game Objects use the Graphics pipeline any longer, so to save space it has been removed and is no longer installed by the Pipeline Manager.
2022-07-12 13:39:51 +01:00
Richard Davey
59fbcc5ca3
Updated copyright year
2022-02-28 14:29:51 +00:00
Richard Davey
508630ad81
Added renderTargets, maxDimension, frameInc and targetIndex
2021-10-20 12:36:54 +01:00
Richard Davey
904ca9f7c4
Removed SpriteFX as you extend it, not instantiate it
2021-10-12 01:03:04 +01:00
Richard Davey
7af3693fb5
Add SpriteFX Pipeline to const and default array
2021-10-11 18:49:13 +01:00
Richard Davey
0ab2534306
Update PipelineManager.js
2021-09-21 14:53:18 +01:00
Richard Davey
e954547cf7
The PipelineManager.rebind
method will now flag all pipelines as glReset = true
, so they know to fully rebind the next time they are invoked.
2021-03-01 17:50:40 +00:00
Richard Davey
cbe1a3219a
JSDoc improvements
2020-12-14 13:33:42 +00:00
Richard Davey
8839007e0f
Update the projection matrix on bind
2020-12-11 10:24:27 +00:00
Richard Davey
d6d5c09552
The Shader
Game Object now supports being able to use a Render Texture as a sampler2D
texture on the shader. Fix #5423
2020-12-07 12:19:42 +00:00
Richard Davey
402e6d23b1
Testing making the pipeline responsible for setting the buffer to cut down on potential points of failure
2020-12-04 18:06:16 +00:00
Richard Davey
509fbcae44
Update PipelineManager.js
2020-12-04 13:40:32 +00:00
Richard Davey
e2ccfffd3b
Split up the classes to avoid plugin issues. Fix #5420
2020-12-04 13:04:48 +00:00
Richard Davey
ea6a7d0f05
Install Point Light Pipeline (build flag?)
2020-12-01 17:23:33 +00:00
Richard Davey
23ad56862f
Enable use of 'active'
2020-11-30 14:21:00 +00:00
Richard Davey
0ee1338765
Better post pipeline call (less code)
2020-11-26 09:51:40 +00:00
Richard Davey
30c2eb5d0e
Ability to link Post Pipeline to owner object
2020-11-20 17:29:42 +00:00
Richard Davey
0b589564ea
JSDoc fixes
2020-11-20 16:37:53 +00:00
Richard Davey
4903241ac9
No longer use setPost
.
2020-11-17 17:30:25 +00:00
Richard Davey
11e4fe6e14
Update PipelineManager.js
2020-11-17 17:15:32 +00:00
Richard Davey
e36a086e5d
Updated data types
2020-11-17 16:50:36 +00:00
Richard Davey
60c7d8a2e9
New classes property, new event handling system and removed un-used methods
2020-11-17 14:10:06 +00:00
Richard Davey
f5f20db048
Don't batch if no pipeline
2020-11-16 17:08:50 +00:00
Richard Davey
8c996b4697
Added setPost, isCurrentPost, removed setCameraPipeline
2020-11-16 15:46:34 +00:00
Richard Davey
5062c97784
Added copyToGame method to finalise fbo to renderer
2020-11-15 17:32:37 +00:00
Richard Davey
ce0b9d94c5
Added option to clear frame before copy
2020-11-15 12:53:33 +00:00
Richard Davey
691b680e36
Added JSDocs and fixed boot sequence
2020-11-13 15:54:49 +00:00
Richard Davey
bddfd707fc
Added preBatchCamera and postBatchCamera and the rest of the Utility methods
2020-11-13 14:18:57 +00:00
Richard Davey
d50afad9e5
Testing new util methods
2020-11-12 18:09:21 +00:00
Richard Davey
9235b7a695
Add Utility Pipeline and copyFrames method
2020-11-11 17:46:44 +00:00
Richard Davey
6e115e4e04
Call rebind function
2020-11-10 15:50:30 +00:00
Richard Davey
ca52436340
Removed Camera Pipeline
2020-11-10 11:59:12 +00:00
Richard Davey
167f50f28f
Added new PostFX Pipeline to extend from
2020-11-06 15:35:05 +00:00
Richard Davey
883402da8a
Added forceZero method and used it
2020-11-05 10:50:40 +00:00
Richard Davey
34f3ae9755
Removed stack and lock support
2020-11-04 18:01:01 +00:00
Richard Davey
e72a3b27e4
Call new unbind method
2020-11-03 18:04:57 +00:00
Richard Davey
a5ae67e1a6
Added Camera Pipeline
2020-10-30 17:55:56 +00:00
Richard Davey
6353496751
Added the ability for a pipeline to be locked or unlocked
2020-10-29 17:22:29 +00:00
Richard Davey
9a0f33d24c
Cause a full bind on first set
2020-10-29 14:41:04 +00:00