loadTexture

Set internal format to force a specific format, else the format will be chosen based on the image type.

version(OpenGL)
GLuint
loadTexture
(
string filename
,
GLuint internalFormat = 0
,
bool logging = false
,)

Meta