cesium-native 0.58.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
28 struct Kernel {
30 inline static const std::string ellipse = "ellipse";
31 };
32
37 struct ColorSpace {
39 inline static const std::string srgb_rec709_display = "srgb_rec709_display";
40
42 inline static const std::string lin_rec709_display = "lin_rec709_display";
43 };
44
50 struct Projection {
52 inline static const std::string perspective = "perspective";
53 };
54
61 inline static const std::string cameraDistance = "cameraDistance";
62 };
63
71 std::string kernel = Kernel::ellipse;
72
80
89
98
105 int64_t getSizeBytes() const {
106 int64_t accum = 0;
107 accum += int64_t(sizeof(ExtensionKhrGaussianSplatting));
109 int64_t(sizeof(CesiumUtility::ExtensibleObject));
110
111 return accum;
112 }
113};
114} // namespace CesiumGltf
Classes for working with glTF models.
Known values for Property specifying the color space of the spherical harmonics.
static const std::string lin_rec709_display
lin_rec709_display
static const std::string srgb_rec709_display
srgb_rec709_display
Known values for Property specifying parameters regarding the kernel used to generate the Gaussians.
Known values for Optional property specifying how to project the Gaussians to achieve a perspective c...
Known values for Optional property specifying how to sort the Gaussians during rendering....
Data defining a 3D Gaussian Splat primitive.
std::string projection
Optional property specifying how to project the Gaussians to achieve a perspective correct value....
std::string sortingMethod
Optional property specifying how to sort the Gaussians during rendering. This property defaults to ca...
std::string colorSpace
Property specifying the color space of the spherical harmonics.
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
Property specifying parameters regarding 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 ...