heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
69 stars 3 forks source link

Allow for old-school texture uniforms along with bindless textures #38

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

If successful, then we could research making bindless textures an entirely optional extension (see #32 ).

Should probably be implemented by adding some kind of decorator struct, which combines a Texture with a texture unit index, to the big union of legal uniform types (GL.Uniform, in GL/program.jl).