forked from Dynamitos/Seele
Implemented basic occlusions queries
This commit is contained in:
1 parent
52c4f11d28
commit
df7fbef8bd
20 files changed
+221
-156
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include "RenderPass.h"
|
||||
#include "Graphics/Query.h"
|
||||
|
||||
namespace Seele {
|
||||
class CachedDepthPass : public RenderPass {
|
||||
@@ -21,6 +22,7 @@ class CachedDepthPass : public RenderPass {
|
||||
Gfx::OTexture2D visibilityBuffer;
|
||||
Gfx::OPipelineLayout depthPrepassLayout;
|
||||
|
||||
Gfx::OOcclusionQuery occlusionQuery;
|
||||
Gfx::PShaderBuffer cullingBuffer;
|
||||
};
|
||||
DEFINE_REF(CachedDepthPass)
|
||||
|
||||
Reference in new issue
Block a user