mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
70b99a4412
* Cleans up the code a bunch, this support is unlikely to ever return and if it does it will need a rethink anyway.
38 lines
630 B
C++
38 lines
630 B
C++
#ifndef TEXTUREVIEWER_H
|
|
#define TEXTUREVIEWER_H
|
|
|
|
#include <QFrame>
|
|
#include <QMouseEvent>
|
|
|
|
#include "Code/Core.h"
|
|
|
|
namespace Ui {
|
|
class TextureViewer;
|
|
}
|
|
|
|
class TextureViewer : public QFrame, public ILogViewerForm
|
|
{
|
|
private:
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TextureViewer(Core *core, QWidget *parent = 0);
|
|
~TextureViewer();
|
|
|
|
void OnLogfileLoaded();
|
|
void OnLogfileClosed();
|
|
void OnEventSelected(uint32_t eventID);
|
|
|
|
private slots:
|
|
void on_render_clicked(QMouseEvent *e);
|
|
|
|
private:
|
|
Ui::TextureViewer *ui;
|
|
Core *m_Core;
|
|
IReplayOutput *m_Output;
|
|
|
|
TextureDisplay m_TexDisplay;
|
|
};
|
|
|
|
#endif // TEXTUREVIEWER_H
|