/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ #pragma once #include "PackedFloat2.h" #include #include #include namespace WhiteBox { //! Class to hold the white box mesh data in Atom device memory format. class WhiteBoxMeshAtomData { public: explicit WhiteBoxMeshAtomData(const WhiteBoxFaces& faceData); ~WhiteBoxMeshAtomData() = default; const uint32_t VertexCount() const; const AZStd::vector& GetIndices() const; const AZStd::vector& GetPositions() const; const AZStd::vector& GetNormals() const; const AZStd::vector& GetTangents() const; const AZStd::vector& GetBitangents() const; const AZStd::vector& GetUVs() const; const AZStd::vector& GetColors() const; AZ::Aabb GetAabb() const; private: AZStd::vector m_indices; AZStd::vector m_positions; AZStd::vector m_normals; AZStd::vector m_tangents; AZStd::vector m_bitangents; AZStd::vector m_uvs; AZStd::vector m_colors; AZ::Aabb m_aabb; }; } // namespace WhiteBox