19 lines
394 B
C++
19 lines
394 B
C++
#ifndef DUST3D_APPLICATION_DDS_FILE_H_
|
|
#define DUST3D_APPLICATION_DDS_FILE_H_
|
|
|
|
#include <memory>
|
|
#include <QString>
|
|
#include <QOpenGLTexture>
|
|
|
|
class DdsFileReader
|
|
{
|
|
public:
|
|
DdsFileReader(const QString &filename);
|
|
QOpenGLTexture *createOpenGLTexture();
|
|
std::unique_ptr<std::vector<std::unique_ptr<QOpenGLTexture>>> createOpenGLTextures();
|
|
private:
|
|
QString m_filename;
|
|
};
|
|
|
|
#endif
|