Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
J.C
|
936563df11
|
Crop component is missing from RenderTexture class
|
2019-12-27 17:01:14 +08:00 |
|
Richard Davey
|
487ec88529
|
RenderTexture.fill wasn't setting the camera up before drawing the fill rect, causing it to appear in the wrong place and the wrong size. Fix #4390
|
2019-09-30 15:08:53 +01:00 |
|
Rex
|
6deec2c44b
|
Also resize hit-area when resizing
|
2019-09-21 20:24:26 +08:00 |
|
Rex
|
08a2082d46
|
Update display-origin when resizing
|
2019-09-21 20:21:09 +08:00 |
|
Nicolas Ferrero
|
18060a841e
|
RenderTexture would not update texture size on resize
|
2019-09-10 17:03:52 +03:00 |
|
Richard Davey
|
907d0dd4f2
|
Render Texture snapshot methods now work across WebGL and Canvas
|
2019-07-15 17:03:04 +01:00 |
|
Richard Davey
|
15d7b9c6ef
|
Fixed jsdoc typos and added single pixel support
|
2019-07-14 13:56:44 +01:00 |
|
Richard Davey
|
4d61aa8556
|
Added the new methods snapshot, snapshotArea and snapshotPixel
|
2019-07-13 15:21:13 +01:00 |
|
Richard Davey
|
a79da485c3
|
Added glTexture property
|
2019-06-26 00:36:40 +01:00 |
|
Richard Davey
|
9a6fe49000
|
Typo
|
2019-06-21 12:25:08 +01:00 |
|
Richard Davey
|
0dfc9806cc
|
Fixed lots of jsdos and moved the frame.cutX/Y addition into each function, allowing the x/y defaults to work again. Fix #4528
|
2019-06-06 17:45:18 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
275a3afe5f
|
RenderTexture Types
|
2019-05-09 11:58:09 +01:00 |
|
Richard Davey
|
e82e7c6ba0
|
Formatting fix
|
2019-04-18 17:55:49 +01:00 |
|
Richard Davey
|
f0acd2dfaf
|
rgb fix, lint fix and no need for frame argument
|
2019-04-08 12:49:03 +01:00 |
|
Richard Davey
|
55959500d2
|
Update RenderTextureConfig.js
|
2019-04-08 12:44:37 +01:00 |
|
Richard Davey
|
7c0645c1b9
|
Merge branch 'master' into master
|
2019-04-08 12:44:04 +01:00 |
|
Richard Davey
|
e017691c68
|
The ScaleMode Component has been removed from every Game Object, and along with it the scaleMode property and setScaleMode method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413
|
2019-03-24 23:07:27 +00:00 |
|
Richard Davey
|
c9bdb83941
|
GameObject and Loader typedefs
|
2019-02-13 13:57:59 +00:00 |
|
Richard Davey
|
4f6f6ee72f
|
Lots of jsdoc and type fixes
|
2019-01-31 12:19:01 +00:00 |
|
Richard Davey
|
c221bb7165
|
Updated docs to clarify #4091
|
2019-01-24 14:10:55 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
a2723249a3
|
CanvasTexture.destroy is a new method that specifically handles the destruction of the CanvasTexture and all of its associated typed arrays. This prevents a memory leak when creating and destroying lots of RenderTextures (which are CanvasTexture backed). Fix #4239
|
2018-12-18 15:21:24 +00:00 |
|
Richard Davey
|
c882b52a3a
|
Fixed an issue where changing the viewport or size of a Camera belonging to a RenderTexture, it wouldn't impact the rendering and objects will still render outside of the viewport range. It's now converted to a proper gl scissor rect by the renderer, meaning you can limit the area rendered to by adjusting the internal Render Texture cameras viewport. Fix #4243
|
2018-12-18 13:35:53 +00:00 |
|
Richard Davey
|
90c7d4d0e8
|
Removed un-needed argument
|
2018-12-18 12:12:38 +00:00 |
|
Richard Davey
|
56fa0a119e
|
RenderTexture.fill in WebGL would use gl.clear and a clear color to try and fill the Render Texture. This only worked for full-canvas sized RenderTextures that didn't have a camera zoom applied. It has now been swapped to use the drawFillRect method of the Texture Tint Pipeline, allowing it to work properly regardless of camera zoom or size.
|
2018-12-18 11:31:42 +00:00 |
|
Richard Davey
|
bc9d3511e1
|
When using RenderTexture.fill , the alpha argument would be ignored in Canvas mode. It's now used when filling the RenderTexture.
|
2018-12-18 09:55:23 +00:00 |
|
Richard Davey
|
e584fbfb8f
|
Tidying up erase code
|
2018-11-13 15:27:42 +00:00 |
|
Richard Davey
|
76918e76b0
|
ERASE tests
|
2018-11-13 10:32:24 +00:00 |
|
Richard Davey
|
06688eedd8
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-11-10 04:22:51 +00:00 |
|
Richard Davey
|
ceb9910780
|
Added erase method for clearing parts of a Render Texture.
|
2018-11-10 04:22:47 +00:00 |
|
Richard Davey
|
8ea2bffb9c
|
Render Textures created larger than the size of the default canvas would be automatically clipped when drawn to in WebGL. They now reset the gl scissor and drawing height property in order to draw to their full size, regardless of the canvas size. Fix #4139
|
2018-11-07 16:01:21 +00:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01:00 |
|
TadejZupancic
|
da5ed417b5
|
Update RenderTexture.js
|
2018-09-28 14:51:54 +02:00 |
|
TadejZupancic
|
d77f39aaa1
|
Update RenderTexture.js
|
2018-09-28 14:36:59 +02:00 |
|
TadejZupancic
|
9ceb1847b1
|
Update RenderTextureFactory.js
|
2018-09-28 14:32:35 +02:00 |
|
TadejZupancic
|
52bae7e235
|
Update RenderTextureCreator.js
|
2018-09-28 14:31:50 +02:00 |
|
Richard Davey
|
754fc4f622
|
RenderTexture.resize wouldn't correctly resize the texture under WebGL. Fix #4034
|
2018-09-17 11:48:34 +01:00 |
|
Richard Davey
|
dedc939fdd
|
initPipeline now defaults to the Texture Tint Pipeline if nothing else is specified.
|
2018-09-05 11:19:02 +01:00 |
|
TadejZupancic
|
1fa16f00df
|
RenderTexture: Texture is always destroyed (canvas)
Forgot to check the flag for canvas renderer.
|
2018-08-22 15:57:57 +02:00 |
|
TadejZupancic
|
bff7f99fe1
|
Update RenderTexture.js
|
2018-08-21 15:40:10 +02:00 |
|
TadejZupancic
|
50a3555cad
|
RenderTexture: Texture is always destroyed
Texture is now destroyed only if it was not saved to the TextureManager, so it can be reused.
|
2018-08-21 15:32:10 +02:00 |
|
Richard Davey
|
353b7b5edd
|
RenderTexture destroy working. Fix #3901
|
2018-08-08 13:56:43 +01:00 |
|
Richard Davey
|
41c9f8b1e1
|
Docs update
|
2018-08-06 00:41:34 +01:00 |
|
Richard Davey
|
9675c269e6
|
Split Camera up into BaseCamera, which Camera now extends.
|
2018-08-04 13:05:41 +01:00 |
|
Richard Davey
|
6027e9ca5a
|
Render Textures can now be cropped. Added missing jsdocs.
|
2018-08-03 19:30:55 +01:00 |
|
Richard Davey
|
d5c558b8e4
|
Render Texture now uses unified drawing functions
|
2018-08-03 19:17:39 +01:00 |
|
Richard Davey
|
9f44896a3f
|
The Blend Mode is now set directly in all Canvas Renderers without comparing it to what's stored in the Canvas Renderer. This fixes problems where the blend mode would be lost between two different Game Objects because they restored the context, but didn't update the renderer flag. Game Objects in Canvas can now mix and match blend modes across the display list.
|
2018-08-03 01:29:18 +01:00 |
|
Richard Davey
|
7965c7aae4
|
Removed un-needed files.
|
2018-08-02 15:59:29 +01:00 |
|