ScanMountGoat/SFGraphics

Simplify shader loading

Closed this issue · 1 comments

Allowing for shaders to be added individually allows for redundant linking and poor performance. The method signatures should be simplified to avoid having to specify the shader name every time.

Fixed in latest commit. The ShaderObject type ensures the shader's Id and type remain linked.