cesium-native 0.56.0
Loading...
Searching...
No Matches
ExtensionKhrGaussianSplattingHintsValue.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 {
15struct CESIUMGLTF_API ExtensionKhrGaussianSplattingHintsValue final
20 static constexpr const char* TypeName =
21 "ExtensionKhrGaussianSplattingHintsValue";
22
28 std::string projection = "perspective";
29
35 std::string sortingMethod = "cameraDistance";
36
43 int64_t getSizeBytes() const {
44 int64_t accum = 0;
45 accum += int64_t(sizeof(ExtensionKhrGaussianSplattingHintsValue));
47 int64_t(sizeof(CesiumUtility::ExtensibleObject));
48 accum += int64_t(this->projection.capacity() * sizeof(char));
49 accum += int64_t(this->sortingMethod.capacity() * sizeof(char));
50 return accum;
51 }
52};
53} // namespace CesiumGltf
Classes for working with glTF models.
Optional rendering hints for rendering the 3D Gaussian splats. Renderers are free to ignore any of th...
std::string sortingMethod
Provides a hint specifying how to sort the Gaussians during rendering. This is a freeform field defau...
std::string projection
Provides a hint specifying how to project the Gaussians to achieve a perspective correct value....
static constexpr const char * TypeName
The original name of this type.
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 ...