Improving Material shader code generation

This commit is contained in:
Dynamitos
2020-09-19 14:36:50 +02:00
parent 6814587b54
commit facbfed79c
72 changed files with 1049 additions and 329 deletions
+7
View File
@@ -3,6 +3,7 @@
#include "GraphicsResources.h"
#include "Containers/Array.h"
#include "VertexShaderInput.h"
#include "ShaderCompiler.h"
namespace Seele
{
@@ -19,6 +20,11 @@ public:
{
return queueMapping;
}
PShaderCompiler getShaderCompiler() const
{
return shaderCompiler;
}
virtual PWindow createWindow(const WindowCreateInfo &createInfo) = 0;
virtual PViewport createViewport(PWindow owner, const ViewportCreateInfo &createInfo) = 0;
@@ -47,6 +53,7 @@ public:
protected:
QueueFamilyMapping queueMapping;
PShaderCompiler shaderCompiler;
friend class Window;
};
DEFINE_REF(Graphics);