Open heyx3 opened 1 year ago
OpenGL is taking it as a pointer anyway, so why not?
This would probably require a whole separate overload for set_uniform() and set_uniforms() (see GL/program.jl).
set_uniform()
set_uniforms()
If it's not too tricky, make it support both Ptr and Ref.
Ptr
Ref
OpenGL is taking it as a pointer anyway, so why not?
This would probably require a whole separate overload for
set_uniform()
andset_uniforms()
(see GL/program.jl).If it's not too tricky, make it support both
Ptr
andRef
.