Glamour – An opengl wrapper for D

Rene Zwanenburg renezwanenburg at gmail.com
Fri Jul 27 08:53:42 PDT 2012


On Friday, 27 July 2012 at 13:29:55 UTC, David wrote:
>> Some functions have overloads for both GLuint's and wrapper 
>> instances.
>> Unless you really need the GLuint versions, it's probably 
>> better to
>> remove these. Users should either use the wrappers for 
>> everything or not
>> at all, anything in between will cause bloat, ugliness, and 
>> errors.
>
> Really, where?
> If you mean the `unit` param for Samplers/Textures, that is 
> needed, sometimes you just wanna bind the Sampler/Texture to a 
> specific unit.

Those are the ones I was talking about. But yeah, I agree that 
can be useful.


More information about the Digitalmars-d-announce mailing list