cesium-native 0.63.0
Loading...
Searching...
No Matches
ExtensionModelKhrLightsPunctualReader.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/ExtensionModelKhrLightsPunctual.h>
6#include <CesiumGltfReader/Library.h>
7#include <CesiumJsonReader/JsonReader.h>
8#include <CesiumJsonReader/JsonReaderOptions.h>
9
10#include <rapidjson/fwd.h>
11
12#include <span>
13#include <vector>
14
15namespace CesiumGltf {
17} // namespace CesiumGltf
18
19namespace CesiumGltfReader {
20
25class CESIUMGLTFREADER_API ExtensionModelKhrLightsPunctualReader {
26public:
31
36
41
50 readFromJson(const std::span<const std::byte>& data) const;
51
60 readFromJson(const rapidjson::Value& value) const;
61
70 std::vector<CesiumGltf::ExtensionModelKhrLightsPunctual>>
71 readArrayFromJson(const rapidjson::Value& value) const;
72
73private:
75};
76
77} // namespace CesiumGltfReader
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionModelKhrLightsPunctual > readFromJson(const rapidjson::Value &value) const
Reads an instance of ExtensionModelKhrLightsPunctual from a rapidJson::Value.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::ExtensionModelKhrLightsPunctual > > readArrayFromJson(const rapidjson::Value &value) const
Reads an array of instances of ExtensionModelKhrLightsPunctual from a rapidJson::Value.
ExtensionModelKhrLightsPunctualReader()
Constructs a new instance.
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionModelKhrLightsPunctual > readFromJson(const std::span< const std::byte > &data) const
Reads an instance of ExtensionModelKhrLightsPunctual from a byte buffer.
CesiumJsonReader::JsonReaderOptions & getOptions()
Gets the options controlling how the JSON is read.
const CesiumJsonReader::JsonReaderOptions & getOptions() const
Gets the options controlling how the JSON is read.
Holds options for reading statically-typed data structures from JSON.
Classes for reading glTF models.
Definition GltfReader.h:23
Classes for working with glTF models.
KHR_lights_punctual glTF Document Extension.
The result of JsonReader::readJson.
Definition JsonReader.h:23