voxcity.simulator_gpu.visibility.workspace.ViewWorkspaceKey

class voxcity.simulator_gpu.visibility.workspace.ViewWorkspaceKey

Immutable key that identifies a unique workspace allocation shape.

Mode (sky / green) is intentionally not part of the key: both modes share the same field shapes, so a single workspace can be reused across them. The masks are reinitialized on every compute_view_index call.

shape: Tuple[int, int, int]
meshsize: float
n_azimuth: int
n_elevation: int
ray_sampling: str
n_rays: int | None
elevation_min_degrees: float
elevation_max_degrees: float