WhiteBoxNullRenderMesh.cpp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include "WhiteBoxNullRenderMesh.h"
  9. namespace WhiteBox
  10. {
  11. WhiteBoxNullRenderMesh::WhiteBoxNullRenderMesh([[maybe_unused]] AZ::EntityId entityId)
  12. {
  13. // noop
  14. }
  15. void WhiteBoxNullRenderMesh::BuildMesh(
  16. [[maybe_unused]] const WhiteBoxRenderData& renderData, [[maybe_unused]] const AZ::Transform& worldFromLocal)
  17. {
  18. // noop
  19. }
  20. void WhiteBoxNullRenderMesh::UpdateTransform([[maybe_unused]] const AZ::Transform& worldFromLocal)
  21. {
  22. // noop
  23. }
  24. void WhiteBoxNullRenderMesh::UpdateMaterial([[maybe_unused]] const WhiteBoxMaterial& material)
  25. {
  26. // noop
  27. }
  28. void WhiteBoxNullRenderMesh::SetVisiblity([[maybe_unused]] bool visibility)
  29. {
  30. // noop
  31. }
  32. bool WhiteBoxNullRenderMesh::IsVisible() const
  33. {
  34. return false;
  35. }
  36. } // namespace WhiteBox