2021-11-18 14:58:01 +00:00
|
|
|
#ifndef DUST3D_APPLICATION_DDS_FILE_H_
|
|
|
|
#define DUST3D_APPLICATION_DDS_FILE_H_
|
|
|
|
|
2022-09-23 11:03:35 +00:00
|
|
|
#include <memory>
|
2020-03-18 14:17:09 +00:00
|
|
|
#include <QString>
|
|
|
|
#include <QOpenGLTexture>
|
|
|
|
|
|
|
|
class DdsFileReader
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DdsFileReader(const QString &filename);
|
|
|
|
QOpenGLTexture *createOpenGLTexture();
|
2022-09-23 11:03:35 +00:00
|
|
|
std::unique_ptr<std::vector<std::unique_ptr<QOpenGLTexture>>> createOpenGLTextures();
|
2020-03-18 14:17:09 +00:00
|
|
|
private:
|
|
|
|
QString m_filename;
|
|
|
|
};
|
|
|
|
|
2021-11-18 14:58:01 +00:00
|
|
|
#endif
|