Nebula
Loading...
Searching...
No Matches
resourcespanel.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
14//------------------------------------------------------------------------------
15#if WITH_NEBULA_EDITOR
16#include "neweditor/core/editorpanel.h"
18#include "ids/id.h"
19
20namespace GraphicsFeature
21{
22
23class ResourcesPanel final : public Editor::EditorPanel
24{
26public:
28 virtual ~ResourcesPanel();
29
30 void Draw() override;
31
32protected:
33 bool OnSetup() override;
34
35private:
37 void DrawList();
39 void DrawPreview();
40
42 void CommandResources(const Util::Array<Util::String>& args);
43
44 char filter[128];
46 Ids::Id32 previewId;
47
48 int mip;
49 int layer;
50 bool red, green, blue, alpha;
51 bool useAlpha;
52 bool useRange;
53 float rangeMin, rangeMax, rangeLimit;
54 bool pointFilter;
55 float zoom;
56};
57
58} // namespace GraphicsFeature
59#endif // WITH_NEBULA_EDITOR
60//------------------------------------------------------------------------------
The GPU textures the renderer has made, loaded ones and render targets alike, with their size,...
Nebula's dynamic array class.
Definition array.h:61
Definition graphicsfeatureunit.cc:66
uint32_t Id32
Definition id.h:138
#define __DeclareClass(type)
texture type
Definition texture.h:25