Engine is now installable
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
|
||||
using namespace Seele;
|
||||
|
||||
BasePassMeshProcessor::BasePassMeshProcessor(Gfx::PGraphics graphics, uint8 translucentBasePass)
|
||||
BasePassMeshProcessor::BasePassMeshProcessor(Gfx::PGraphics graphics)
|
||||
: MeshProcessor(graphics)
|
||||
, translucentBasePass(translucentBasePass)
|
||||
// , translucentBasePass(translucentBasePass)
|
||||
//, cachedPrimitiveIndex(0)
|
||||
{
|
||||
}
|
||||
@@ -71,7 +71,7 @@ void BasePassMeshProcessor::processMeshBatch(
|
||||
|
||||
BasePass::BasePass(Gfx::PGraphics graphics)
|
||||
: RenderPass(graphics)
|
||||
, processor(new BasePassMeshProcessor(graphics, false))
|
||||
, processor(new BasePassMeshProcessor(graphics))
|
||||
, descriptorSets(4)
|
||||
{
|
||||
UniformBufferCreateInfo uniformInitializer;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Seele
|
||||
class BasePassMeshProcessor : public MeshProcessor
|
||||
{
|
||||
public:
|
||||
BasePassMeshProcessor(Gfx::PGraphics graphics, uint8 translucentBasePass);
|
||||
BasePassMeshProcessor(Gfx::PGraphics graphics);
|
||||
virtual ~BasePassMeshProcessor();
|
||||
|
||||
virtual void processMeshBatch(
|
||||
@@ -21,8 +21,7 @@ public:
|
||||
int32 staticMeshId = -1) override;
|
||||
private:
|
||||
//Array<Gfx::PDescriptorSet> cachedPrimitiveSets;
|
||||
Gfx::PViewport target;
|
||||
uint8 translucentBasePass;
|
||||
//uint8 translucentBasePass;
|
||||
//uint32 cachedPrimitiveIndex;
|
||||
};
|
||||
DEFINE_REF(BasePassMeshProcessor)
|
||||
|
||||
@@ -15,4 +15,17 @@ target_sources(Engine
|
||||
TextPass.h
|
||||
TextPass.cpp
|
||||
UIPass.h
|
||||
UIPass.cpp)
|
||||
UIPass.cpp)
|
||||
|
||||
target_sources(Engine
|
||||
PUBLIC FILE_SET HEADERS
|
||||
FILES
|
||||
BasePass.h
|
||||
DepthPrepass.h
|
||||
LightCullingPass.h
|
||||
MeshProcessor.h
|
||||
RenderGraph.h
|
||||
RenderGraphResources.h
|
||||
RenderPass.h
|
||||
TextPass.h
|
||||
UIPass.h)
|
||||
Reference in New Issue
Block a user