Image.decodeImageFromPixels exists already, this is a proposal to allow people to do it synchronously. This matches the behavior of Picture.toImageSync but instead of using Picture, people can use raw pixels so they can generate high bitrate textures like r32float.
Use cases:
- generate an SDF and attach it to a fragment shader all in the same frame
Image.decodeImageFromPixelsexists already, this is a proposal to allow people to do it synchronously. This matches the behavior ofPicture.toImageSyncbut instead of using Picture, people can use raw pixels so they can generate high bitrate textures like r32float.Use cases: