Loading Textures in OpenGL

Ferhat Kurtulmuş aferust at gmail.com
Sun Jul 23 17:02:40 UTC 2023


On Sunday, 23 July 2023 at 16:21:05 UTC, Ruby The Roobster wrote:
> I'm currently trying to load two textures and apply them to a 
> rectangle, following
> [this](https://learnopengl.com/Getting-started/Textures) which 
> is linked to from the README file of the bindbc OpenGL bindings.
>
> [...]

DCV uses gamut for image input, and opengl for displaying stuff. 
You can take a look at the sources:

https://github.com/libmir/dcv/blob/master/source/dcv/imageio/image.d#L399

https://github.com/libmir/dcv/blob/master/source/dcv/plot/drawprimitives.d#L126



More information about the Digitalmars-d-learn mailing list