/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
SceneView::SceneView(const SceneView& sceneView) = default;
-SceneView::SceneView(SceneView&& rhs) = default;
+SceneView::SceneView(SceneView&& rhs) noexcept = default;
SceneView& SceneView::operator=(const SceneView& sceneView) = default;
-SceneView& SceneView::operator=(SceneView&& rhs) = default;
+SceneView& SceneView::operator=(SceneView&& rhs) noexcept = default;
SceneView::~SceneView()
{
return GetImpl(*this).GetImageBasedLightScaleFactor();
}
+uint32_t SceneView::GetActivatedLightCount() const
+{
+ return GetImpl(*this).GetActivatedLightCount();
+}
+
void SceneView::UseFramebuffer(bool useFramebuffer)
{
GetImpl(*this).UseFramebuffer(useFramebuffer);
return GetImpl(*this).IsUsingFramebuffer();
}
+void SceneView::SetResolution(uint32_t width, uint32_t height)
+{
+ GetImpl(*this).SetResolution(width, height);
+}
+
+uint32_t SceneView::GetResolutionWidth()
+{
+ return GetImpl(*this).GetResolutionWidth();
+}
+
+uint32_t SceneView::GetResolutionHeight()
+{
+ return GetImpl(*this).GetResolutionHeight();
+}
+
+void SceneView::ResetResolution()
+{
+ GetImpl(*this).ResetResolution();
+}
+
+void SceneView::SetFramebufferMultiSamplingLevel(uint8_t multiSamplingLevel)
+{
+ GetImpl(*this).SetFramebufferMultiSamplingLevel(multiSamplingLevel);
+}
+
+uint8_t SceneView::GetFramebufferMultiSamplingLevel() const
+{
+ return GetImpl(*this).GetFramebufferMultiSamplingLevel();
+}
+
void SceneView::SetSkybox(const std::string& skyboxUrl)
{
GetImpl(*this).SetSkybox(skyboxUrl);
}
+void SceneView::SetSkyboxEnvironmentMapType(Scene3D::EnvironmentMapType skyboxEnvironmentMapType)
+{
+ GetImpl(*this).SetSkyboxEnvironmentMapType(skyboxEnvironmentMapType);
+}
+
void SceneView::SetSkyboxIntensity(float intensity)
{
GetImpl(*this).SetSkyboxIntensity(intensity);