Filter: blur() support #442
garrynewman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
2ab7204f-b76b-49be-878c-e4097e4df959.mp4
I had to rewrite some stuff to support
filter: blur( 10px )
, so I'm gonna make a couple of lists in case people run into trouble with it. Let me know in the replies if I fucked you.Known Issues:
Changes:
filter: blur( xx )
Render.Clear
becomesRender.ClearAttributes
Render.Clear( color, cleardepth )
Render.SetRenderTarget( texture )
Render.RestoreRenderTarget()
(restores RT to backbuffer, maybe should be SetRenderTarget( null )?)Texture.CreateRenderTarget()
now returns aTextureBuilder
instead of aTextureRenderTargetBuilder
TextureRenderTargetBuilder
deletedTextureBuilder.WithSize( size )
TextureBuilder.WithMultiSample2X()
(and others)TextureBuilder.WithFormat( format )
TextureBuilder.WithScreenFormat()
TextureBuilder.Create
throws exception if size is <= 0Beta Was this translation helpful? Give feedback.
All reactions