cesium-native 0.61.0
Loading...
Searching...
No Matches
ExtensionKhrGaussianSplatting.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7
8#include <string>
9
10namespace CesiumGltf {
14struct CESIUMGLTF_API ExtensionKhrGaussianSplatting final
19 static constexpr const char* TypeName = "ExtensionKhrGaussianSplatting";
22 static constexpr const char* ExtensionName = "KHR_gaussian_splatting";
23
27 struct Kernel {
29 inline static const std::string ellipse = "ellipse";
30 };
31
35 struct ColorSpace {
37 inline static const std::string srgb_rec709_display = "srgb_rec709_display";
38
40 inline static const std::string lin_rec709_display = "lin_rec709_display";
41 };
42
46 struct Projection {
48 inline static const std::string perspective = "perspective";
49 };
50
56 inline static const std::string cameraDistance = "cameraDistance";
57 };
58
65 std::string kernel = Kernel::ellipse;
66
74
82
90
97 int64_t getSizeBytes() const {
98 int64_t accum = 0;
99 accum += int64_t(sizeof(ExtensionKhrGaussianSplatting));
101 int64_t(sizeof(CesiumUtility::ExtensibleObject));
102
103 return accum;
104 }
105};
106} // namespace CesiumGltf
Classes for working with glTF models.
Known values for The color space of the reconstructed color values.
static const std::string lin_rec709_display
lin_rec709_display
static const std::string srgb_rec709_display
srgb_rec709_display
Known values for The kernel used to generate the Gaussians.
Known values for The projection method for rendering the Gaussians.
Known values for The sorting method for rendering the Gaussians.
Data defining a 3D Gaussian Splat primitive.
std::string projection
The projection method for rendering the Gaussians.
std::string sortingMethod
The sorting method for rendering the Gaussians.
std::string colorSpace
The color space of the reconstructed color values.
static constexpr const char * TypeName
The original name of this type.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
std::string kernel
The kernel used to generate the Gaussians.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...