26 enum class CESIUM3DTILESSELECTION_API
Result {
56 RenderedAndKicked = 4,
73 : _frameNumber(0), _result(
Result::None) {}
83 : _frameNumber(frameNumber), _result(result) {}
89 return this->_frameNumber;
103 if (this->_frameNumber != frameNumber) {
106 return this->_result;
120 constexpr
bool wasKicked(int32_t frameNumber)
const noexcept {
150 constexpr
void kick() noexcept {
151 switch (this->_result) {
164 int32_t _frameNumber;
A description of the state of a Tile during the rendering process.
constexpr TileSelectionState(int32_t frameNumber, Result result) noexcept
Initializes a new instance with a given TileSelectionState::Result.
Result
Enumeration of possible results of a TileSelectionState.
@ RenderedAndKicked
This tile was rendered but then removed from the render list.
@ None
There was no selection result.
@ Rendered
The tile was selected for rendering.
@ RefinedAndKicked
This tile was refined but then removed from the render list.
@ Refined
This tile did not meet the required screen-space error and was refined.
constexpr int32_t getFrameNumber() const noexcept
Gets the frame number in which selection took place.
constexpr Result getOriginalResult(int32_t frameNumber) const noexcept
Gets the original selection result prior to being kicked.
constexpr void kick() noexcept
Marks this tile as "kicked".
constexpr TileSelectionState() noexcept
Initializes a new instance with TileSelectionState::Result::None.
constexpr Result getResult(int32_t frameNumber) const noexcept
Gets the result of selection.
constexpr bool wasKicked(int32_t frameNumber) const noexcept
Determines if this tile or its descendents were kicked from the render list.
Classes that implement the 3D Tiles standard.