Open hadronized opened 5 years ago
We need dynamic shaders, that is, given the current luminance shader program type:
Program<I, O, U>
We want this:
Program<I, O, Dynamic>
Where Dynamic is a type to implement that enables:
Dynamic
render::types
String -> DynUniform
DynUniform
Uniform<U>
This will allow for shader programs that can be customized dynamically and hence, add a real interest with spectra.
We need dynamic shaders, that is, given the current luminance shader program type:
We want this:
Where
Dynamic
is a type to implement that enables:render::types
types. More specifically, we want to be able to have a hash-map like interfaceString -> DynUniform
.DynUniform
is a type-erased version ofUniform<U>
.This will allow for shader programs that can be customized dynamically and hence, add a real interest with spectra.