Nebula
Loading...
Searching...
No Matches
clustercontext.cc File Reference
#include "clustercontext.h"
#include "coregraphics/shader.h"
#include "coregraphics/graphicsdevice.h"
#include "frame/framesubgraph.h"
#include "frame/framecode.h"
#include "graphics/graphicsserver.h"
#include "graphics/globalconstants.h"
#include "frame/default.h"
#include "gpulang/render/system_shaders/cluster_generate.h"

Namespaces

namespace  Clustering
 Context handling GPU cluster culling.

Functions

 Clustering::__ImplementPluginContext (ClusterContext)

Variables

static const SizeT Clustering::ClusterBlockSizeX = 64
static const SizeT Clustering::ClusterBlockSizeY = 64
static const SizeT Clustering::ClusterBlockSizeZ = 24
struct { 
   CoreGraphics::ShaderId   Clustering::clusterShader 
   CoreGraphics::ShaderProgramId   Clustering::clusterGenerateProgram 
   CoreGraphics::BufferId   Clustering::clusterBuffer 
   ClusterGenerate::ClusterUniforms::STRUCT   Clustering::uniforms 
   CoreGraphics::BufferId   Clustering::constantBuffer 
   CoreGraphics::WindowId   Clustering::window 
   SizeT   Clustering::clusterDimensions [3] 
   float   Clustering::zNear 
   float   Clustering::zFar 
   float   Clustering::zDistribution 
   float   Clustering::zInvScale 
   float   Clustering::zInvBias 
   float   Clustering::xResolution 
   float   Clustering::yResolution 
   float   Clustering::invXResolution 
   float   Clustering::invYResolution 
   SizeT   Clustering::numThreads 
Clustering::state