Rename EnumMap to EnumArray after nazarautils update
This commit is contained in:
@@ -1835,7 +1835,7 @@ namespace Nz
|
||||
}
|
||||
}
|
||||
|
||||
EnumMap<PixelFormat, EnumMap<PixelFormat, PixelFormatInfo::ConvertFunction>> PixelFormatInfo::s_convertFunctions;
|
||||
EnumMap<PixelFormat, EnumMap<PixelFlipping, PixelFormatInfo::FlipFunction>> PixelFormatInfo::s_flipFunctions;
|
||||
EnumMap<PixelFormat, PixelFormatDescription> PixelFormatInfo::s_pixelFormatInfos;
|
||||
EnumArray<PixelFormat, EnumArray<PixelFormat, PixelFormatInfo::ConvertFunction>> PixelFormatInfo::s_convertFunctions;
|
||||
EnumArray<PixelFormat, EnumArray<PixelFlipping, PixelFormatInfo::FlipFunction>> PixelFormatInfo::s_flipFunctions;
|
||||
EnumArray<PixelFormat, PixelFormatDescription> PixelFormatInfo::s_pixelFormatInfos;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Nz
|
||||
{
|
||||
namespace NAZARA_ANONYMOUS_NAMESPACE
|
||||
{
|
||||
constexpr EnumMap<ComponentType, std::size_t> s_componentStride = {
|
||||
constexpr EnumArray<ComponentType, std::size_t> s_componentStride = {
|
||||
4 * sizeof(float), // ComponentType::Color
|
||||
1 * sizeof(double), // ComponentType::Double1
|
||||
2 * sizeof(double), // ComponentType::Double2
|
||||
@@ -349,5 +349,5 @@ namespace Nz
|
||||
s_declarations.fill(nullptr);
|
||||
}
|
||||
|
||||
EnumMap<VertexLayout, std::shared_ptr<VertexDeclaration>> VertexDeclaration::s_declarations;
|
||||
EnumArray<VertexLayout, std::shared_ptr<VertexDeclaration>> VertexDeclaration::s_declarations;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user