Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
GaussianSplatPassRunner.h
Go to the documentation of this file.
1// ----------------------------------------------------------------------------
2// - Open3D: www.open3d.org -
3// ----------------------------------------------------------------------------
4// Copyright (c) 2018-2024 www.open3d.org
5// SPDX-License-Identifier: MIT
6// ----------------------------------------------------------------------------
7//
8// Shared Gaussian splatting geometry + composite dispatch sequence. OpenGL and
9// Metal backends supply a GaussianSplatGpuContext implementation; this file
10// contains the platform-agnostic pass logic that both backends invoke.
11
12#pragma once
13
14#include <cstdint>
15#include <vector>
16
19
20namespace open3d {
21namespace visualization {
22namespace rendering {
23
24struct PackedGaussianScene;
25struct GaussianSplatPackedAttrs;
26
35 GaussianSplatGpuContext& ctx,
36 const GaussianSplatRenderer::RenderConfig& config,
37 const PackedGaussianScene& frame_data,
38 const GaussianSplatPackedAttrs& attrs,
39 GaussianSplatViewGpuResources& vs,
40 std::uint64_t scene_change_id,
41 bool scene_changed);
42
45bool RunGaussianCompositePass(GaussianSplatGpuContext& ctx,
46 const GaussianSplatRenderer::RenderConfig& config,
47 GaussianSplatViewGpuResources& vs,
48 GaussianSplatRenderer::OutputTargets& targets);
49
50} // namespace rendering
51} // namespace visualization
52} // namespace open3d
bool RunGaussianCompositePass(GaussianSplatGpuContext &ctx, const GaussianSplatRenderer::RenderConfig &config, GaussianSplatViewGpuResources &vs, GaussianSplatRenderer::OutputTargets &targets)
Definition GaussianSplatPassRunner.cpp:301
bool RunGaussianGeometryPasses(GaussianSplatGpuContext &ctx, const GaussianSplatRenderer::RenderConfig &config, const PackedGaussianScene &frame_data, const GaussianSplatPackedAttrs &attrs, GaussianSplatViewGpuResources &vs, std::uint64_t scene_change_id, bool scene_changed)
Definition GaussianSplatPassRunner.cpp:140
Definition PinholeCameraIntrinsic.cpp:16