HatchitGraphics
ht_gpuresourcerequest.h
1 
15 #pragma once
16 
17 #include <ht_platform.h>
18 #include <ht_string.h>
19 #include <ht_refcounted.h>
20 
21 namespace Hatchit
22 {
23  namespace Graphics
24  {
25  class Texture;
26  class Material;
27  class RootLayout;
28  class Pipeline;
29  class Shader;
30  class RenderPass;
31  class RenderTarget;
32  class Mesh;
33 
35  {
36  public:
37  virtual ~GPUResourceRequest() { };
38 
39  enum class Type
40  {
41  Texture,
42  Material,
43  RootLayout,
44  Pipeline,
45  Shader,
46  RenderPass,
48  Mesh
49  };
50 
51  Type type;
52  };
53 
54  template <typename T>
55  class HT_API GPURequest : public GPUResourceRequest
56  {
57  public:
58  std::string file;
59  void** data;
60  };
61 
70  }
71 }
Definition: ht_renderpass.h:41
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Definition: ht_mesh.h:43
Definition: ht_gpuresourcerequest.h:55
Definition: ht_shader.h:38
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_texture.h:28
Definition: ht_pipeline.h:44
Definition: ht_rendertarget.h:33
Definition: ht_material.h:61
Definition: ht_rootlayout.h:26
Definition: ht_gpuresourcerequest.h:34
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.