def set_dimensions(self):
        max_cells = self._pipeline.light_mgr.total_tiles
        num_rows = int(math.ceil(max_cells / float(self.slice_width)))
        self.per_cell_lights.set_x_size(
            max_cells * (self.max_lights_per_cell + 1))
        self.grouped_cell_lights.set_x_size(
            max_cells * (self.max_lights_per_cell + self.num_light_classes))
        self.target_cull.size = self.slice_width, num_rows
        self.target_group.size = self.slice_width, num_rows
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/stages/cull_lights_stage.py/CullLightsStage.set_dimensions/original