Definition clustercontext.h:20
static const std::array< SizeT, 3 > GetClusterDimensions()
get cluster dimensions
Definition clustercontext.cc:149
static void Create(float ZNear, float ZFar, const CoreGraphics::WindowId window)
setup light context using CameraSettings
Definition clustercontext.cc:65
static void UpdateResources(const Graphics::FrameContext &ctx)
update constants
Definition clustercontext.cc:158
virtual ~ClusterContext()
destructor
Definition clustercontext.cc:57
static void OnRenderDebug(uint32_t flags)
implement me
Definition clustercontext.cc:184
ClusterContext()
constructor
Definition clustercontext.cc:50
static void UpdateClusters()
run light classification compute
static void WindowResized(const CoreGraphics::WindowId id, SizeT width, SizeT height)
Update when window resized.
Definition clustercontext.cc:192
static const SizeT GetNumClusters()
get number of clusters
Definition clustercontext.cc:140
static const CoreGraphics::BufferId * GetClusterBuffer()
Get cluster AABB buffer.
Definition clustercontext.cc:237
Definition graphicscontext.h:165
Definition graphicsserver.h:31