3#include "Foundation/ComponentModel/Component.h"
6#include "Resources/Resources.h"
22 enum struct TwinVisualsMode : uint32_t
29 Preview3DTriangleSize,
40 enum struct TwinVisualsQualityPreset : uint32_t
49 enum struct TwinVisualsTonemapper : uint32_t {
56 enum struct TwinVisualsDynamicRenderResolution : uint32_t {
63 enum struct TwinVisualsTexAtlasStyle : uint32_t {
81 TwinVisualsTexAtlasStyle
texAtlasStyle = TwinVisualsTexAtlasStyle::Color;
84 TwinVisualsMode
mode = TwinVisualsMode::Balanced;
87 TwinVisualsQualityPreset
qualityPreset = TwinVisualsQualityPreset::Medium;
90 TwinVisualsTonemapper
tonemapper = TwinVisualsTonemapper::ACESLuminance;
155 static void registerType();
160template<>
inline Cogs::StringView getName<Cogs::Core::TwinVisualsNotification>() {
return "TwinVisualsNotification"; }
161template<>
inline Cogs::StringView getName<Cogs::Core::TwinVisualsMode>() {
return "TwinVisualsMode"; }
162template<>
inline Cogs::StringView getName<Cogs::Core::TwinVisualsQualityPreset>() {
return "TwinVisualsQualityPreset"; }
163template<>
inline Cogs::StringView getName<Cogs::Core::TwinVisualsTonemapper>() {
return "TwinVisualsTonemapper"; }
164template<>
inline Cogs::StringView getName<Cogs::Core::TwinVisualsDynamicRenderResolution>() {
return "TwinVisualsDynamicRenderResolution"; }
165template<>
inline Cogs::StringView getName<Cogs::Core::TwinVisualsTexAtlasStyle>() {
return "TwinVisualsTexAtlasStyle"; }
166template<>
inline Cogs::StringView getName<Cogs::Core::TwinVisualsComponent>() {
return "TwinVisualsComponent"; }
Base class for Component instances.
bool highlightRegionEnable
TwinVisualsQualityPreset qualityPreset
TwinVisualsTexAtlasStyle texAtlasStyle
glm::vec4 gridLineColorMaj
TwinVisualsTonemapper tonemapper
std::vector< WeakEntityPtr > texAtlases
TwinVisualsDynamicRenderResolution dynamicRenderResolution
glm::vec4 gridLineColorMin
Provides a weakly referenced view over the contents of a string.
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
@ TexturesFailed
One or more new textures have started fetching.
@ TexturesReady
All textures required have been fetched successfully, will be used next frame.
@ Color
Use color property from point set if present, fallback to basecolor.