First runnable render loop

This commit is contained in:
Dynamitos committed 2020-10-14 01:49:43 +02:00
1 parent ceee96b462
commit 8d4c43361b
35 files changed
+519 -134

No files matched your search

+3 -3
View File
@@ -6,9 +6,9 @@
#include "MeshBatch.h"
#include <boost/crc.hpp>
#define ENABLE_VALIDATION
#ifdef DEBUG
#ifndef ENABLE_VALIDATION
#define ENABLE_VALIDATION 0
#endif
namespace Seele
@@ -483,7 +483,7 @@ public:
virtual void setViewport(Gfx::PViewport viewport) = 0;
virtual void bindPipeline(Gfx::PGraphicsPipeline pipeline) = 0;
virtual void bindDescriptor(Gfx::PDescriptorSet set) = 0;
virtual void bindDescriptor(Array<Gfx::PDescriptorSet> sets) = 0;
virtual void bindDescriptor(const Array<Gfx::PDescriptorSet>& sets) = 0;
virtual void bindVertexBuffer(const Array<VertexInputStream>& streams) = 0;
virtual void bindIndexBuffer(Gfx::PIndexBuffer indexBuffer) = 0;
virtual void draw(const MeshBatchElement& data) = 0;