Richard Davey
|
c81c6cecc8
|
Remove the requirement for autoResize to be set, so anyone can resize a RenderTarget
|
2024-08-06 18:58:12 +01:00 |
|
Richard Davey
|
77bbab31f1
|
The RenderTarget will now automatically listen for the Renderer resize event if autoResize is true. This fixes an issue with Bitmap Masks where they wouldn't resize if the renderer resized. Fix #6769
|
2024-07-15 18:34:22 +01:00 |
|
Zeke Chan
|
5e7a8aeb01
|
Update RenderTarget.js
|
2024-07-05 14:31:06 +08:00 |
|
Zeke Chan
|
49c32ba5c5
|
Added clear area functionality
|
2024-07-04 14:56:06 +08:00 |
|
Richard Davey
|
1f8276ac76
|
Updated copyright year, company and author
|
2024-02-19 17:12:24 +00:00 |
|
Ben Richards
|
842d666ebf
|
Use and document WebGLFramebufferWrapper.
Also tweak WebGLTextureWrapper to have more standard destroyers
in itself and WebGLRenderer.
|
2024-01-29 14:53:23 +13:00 |
|
Ben Richards
|
b591c3674a
|
Document usage of WebGLTextureWrapper in place of WebGLTexture .
|
2024-01-29 11:47:39 +13:00 |
|
Richard Davey
|
0b32610e56
|
Updated version to 3.70
|
2023-11-10 15:04:01 +00:00 |
|
Richard Davey
|
5aa409e8f3
|
RenderTarget.willResize is a new method that will return true if the Render Target will be resized as a result of the new given width and height values.
|
2023-11-03 19:02:20 +00:00 |
|
Richard Davey
|
758db68d1a
|
Remove event handler first
|
2023-10-12 15:22:26 +01:00 |
|
Richard Davey
|
3e075bf018
|
Added forceClamp parameter
|
2023-03-27 17:48:27 +01:00 |
|
Richard Davey
|
27553a029b
|
Call clearStencilMask
|
2023-03-16 21:56:46 +00:00 |
|
Richard Davey
|
d28863c986
|
Removed the logs and now zero the stencil upon bind
|
2023-03-14 19:42:09 +00:00 |
|
Richard Davey
|
4ce142c25b
|
Working through fbo debugging
|
2023-03-03 13:41:57 +00:00 |
|
Richard Davey
|
4877efbe36
|
Added hasDepthBuffer property
|
2023-03-02 18:46:16 +00:00 |
|
Richard Davey
|
2589557f4d
|
Don't resize if locked from resizing
|
2023-02-14 01:29:46 +00:00 |
|
Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
9357b8e609
|
The RenderTarget class will now create a Framebuffer that includes a Depth Stencil Buffer attachment by default. Previously, it didn't. By attaching a stencil buffer it allows things like Geometry Masks to work in combination with Post FX and other Pipelines. Fix #5802
|
2022-11-22 18:13:03 +00:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Richard Davey
|
bfecf9da5a
|
RenderTarget will now automatically set the wrapping mode to clamp.
|
2021-10-14 18:45:41 +01:00 |
|
Richard Davey
|
3deb6672aa
|
RenderTarget.resize will now Math.floor the scaled width and height as well as ensure they're not <= 0 which causes Framebuffer status: Incomplete Attachment errors. Fix #5563
|
2021-02-16 12:32:55 +00:00 |
|
Richard Davey
|
5a532da7bf
|
Disable scissor before clearing.
|
2020-12-14 09:08:28 +00:00 |
|
Richard Davey
|
27da1dfa4b
|
Clear just the color buffer
|
2020-12-11 10:24:05 +00:00 |
|
Richard Davey
|
21b968363c
|
Don't resize if already same size. Better binding handling.
|
2020-12-10 16:53:48 +00:00 |
|
Richard Davey
|
08b304372c
|
Made the Render Events global, not WebGL specific and allowed Canvas Renderer to emit them too
|
2020-12-04 15:07:26 +00:00 |
|
Richard Davey
|
f941f5a9f9
|
Scissor fix
|
2020-11-20 11:10:37 +00:00 |
|
Richard Davey
|
87b96f60e8
|
Resize to match texture fbo
|
2020-11-19 23:04:10 +00:00 |
|
Richard Davey
|
a7e980f816
|
Adjust viewport
|
2020-11-19 18:07:26 +00:00 |
|
Richard Davey
|
775134ed3b
|
Added viewport and flush helpers
|
2020-11-19 16:40:19 +00:00 |
|
Richard Davey
|
a03393a4de
|
Added auto resize, clear and default parameters
|
2020-11-19 11:36:58 +00:00 |
|
Richard Davey
|
985b614c65
|
Return the freshly bound fbo
|
2020-11-13 14:19:42 +00:00 |
|
Richard Davey
|
724310f147
|
Removed draw method
|
2020-11-12 18:09:44 +00:00 |
|
Richard Davey
|
752fccbf16
|
Added w/h, comment out draw for now
|
2020-11-11 17:45:58 +00:00 |
|
Richard Davey
|
a62577ee77
|
Added minFilter support and better docs
|
2020-11-06 12:24:46 +00:00 |
|
Richard Davey
|
f914a073f3
|
New RenderTarget class to handle multiple targets per pipeline
|
2020-11-06 11:42:39 +00:00 |
|