1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-19 21:46:29 +00:00
Files
samples/simple_sdf
Andy Wolff bf6cdc150c Update simple_sdf sample to use uniform-by-name accessor (#2843)
The newer, more convenient method `getUniformVec2` is now available on
stable, so let's use that in the `simple_sdf` sample

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [ ] I have added sample code updates to the [changelog].
- [x] I updated/added relevant documentation (doc comments with `///`).

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
[changelog]: ../CHANGELOG.md
2026-05-18 11:37:03 -07:00
..
2026-04-23 09:42:27 -07:00
2026-04-23 09:42:27 -07:00
2026-04-23 09:42:27 -07:00

simple_sdf

A simple Flutter fragment shaders sample project showing how to draw Signed Distance Functions with the FragmentShader API.

Use flutter create --no-overwrite . to initialize the project.

Screenshot of the simple_sdf app