13 lines
410 B
C++
13 lines
410 B
C++
#pragma once
|
|
|
|
#include <string.h>
|
|
#include <vector>
|
|
#include <array>
|
|
|
|
// Load a .DDS file using GLFW's own loader
|
|
GLuint loadDDS(const std::string& imagepath, bool linear = true);
|
|
// Load a list of .DDS files
|
|
GLuint loadDDSArray(const std::vector<std::string> &imagepaths, float mipMapLOD, float anisotropy);
|
|
// Load a .DDS cubemap
|
|
GLuint loadDDSCube(const std::array<std::string, 6> &imagepaths);
|