Closed leod closed 1 year ago
This is meant to simplify the traits on program creation functions.
We previously only allowed function pointer types as shader functions. Now, we except all types that implement Fn(...) -> ....
Fn(...) -> ...
As a result, we're also able to allow omitting the uniform type if it is (), which is nice.
()
This is meant to simplify the traits on program creation functions.
We previously only allowed function pointer types as shader functions. Now, we except all types that implement
Fn(...) -> ...
.As a result, we're also able to allow omitting the uniform type if it is
()
, which is nice.