Starting framework for static mesh rendering
This commit is contained in:
@@ -17,7 +17,6 @@ public:
|
||||
virtual void endFrame() override;
|
||||
virtual void publishOutputs() override;
|
||||
virtual void createRenderPass() override;
|
||||
static void modifyRenderPassMacros(Map<const char*, const char*>& defines);
|
||||
private:
|
||||
Gfx::RenderTargetAttachment colorAttachment;
|
||||
Gfx::RenderTargetAttachment depthAttachment;
|
||||
@@ -28,22 +27,10 @@ private:
|
||||
|
||||
Gfx::PDescriptorSet opaqueCulling;
|
||||
Gfx::PDescriptorSet transparentCulling;
|
||||
Array<Gfx::PDescriptorSet> descriptorSets;
|
||||
//Array<Gfx::PDescriptorSet> descriptorSets;
|
||||
PCameraActor source;
|
||||
Gfx::OPipelineLayout basePassLayout;
|
||||
// Set 0: viewParameter, provided by renderpass
|
||||
static constexpr uint32 INDEX_VIEW_PARAMS = 0;
|
||||
// Set 1: vertex buffers, provided by vertexdata
|
||||
static constexpr uint32 INDEX_VERTEX_DATA = 1;
|
||||
// Set 2: instance data, provided by vertexdata
|
||||
static constexpr uint32 INDEX_SCENE_DATA = 2;
|
||||
// Set 3: light environment, provided by lightenv
|
||||
static constexpr uint32 INDEX_LIGHT_ENV = 3;
|
||||
// Set 4: material data, generated from material
|
||||
static constexpr uint32 INDEX_MATERIAL = 4;
|
||||
// Set 5: light culling data
|
||||
Gfx::ODescriptorLayout lightCullingLayout;
|
||||
static constexpr uint32 INDEX_LIGHT_CULLING = 5;
|
||||
};
|
||||
DEFINE_REF(BasePass)
|
||||
} // namespace Seele
|
||||
|
||||
Reference in New Issue
Block a user