| 123456789101112131415161718192021222324252627282930313233 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #pragma once
- #include <Performance/HighInstanceExampleComponent.h>
- namespace AtomSampleViewer
- {
- //! This test loads a 46x46x46 lattice of cubes with a white material. This test is used as a simple cpu performance stress test for Atom.
- class _100KDrawableExampleComponent
- : public HighInstanceTestComponent
- {
- using Base = HighInstanceTestComponent;
- public:
- AZ_COMPONENT(_100KDrawableExampleComponent, "{A373EDC7-399F-49BB-A3A9-D81FA7E05E60}", HighInstanceTestComponent);
- static void Reflect(AZ::ReflectContext* context);
- _100KDrawableExampleComponent();
- private:
- AZ_DISABLE_COPY_MOVE(_100KDrawableExampleComponent);
- static void InitDefaultValues(HighInstanceTestParameters& defaultParameters);
- };
- } // namespace AtomSampleViewer
|