5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
19 static constexpr const char*
TypeName =
"ExtensionKhrGaussianSplatting";
46 inline static const std::string
zDepth =
"zDepth";
55 inline static const std::string
BT_709 =
"BT.709";
64 inline static const std::string
BT_2020_PQ =
"BT.2020-PQ";
67 inline static const std::string
Display_P3 =
"Display-P3";
70 inline static const std::string
linear =
"linear";
117 accum += int64_t(this->kernel.capacity() *
sizeof(
char));
Classes for working with glTF models.
Known values for Optional property specifying the color space of the spherical harmonics....
static const std::string BT_2020_HLG
BT.2020-HLG
static const std::string BT_2020_PQ
BT.2020-PQ
static const std::string Display_P3
Display-P3
static const std::string linear
linear
static const std::string BT_2020_ITU
BT.2020-ITU
static const std::string BT_709
BT.709
Known values for Optional property specifying how to project the Gaussians to achieve a perspective c...
static const std::string perspective
perspective
static const std::string orthographic
orthographic
Known values for Optional property specifying how to sort the Gaussians during rendering....
static const std::string zDepth
zDepth
static const std::string cameraDistance
cameraDistance
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
Optional property specifying the color space of the spherical harmonics. This property defaults to BT...
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
Optional 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 ...