"MeshTools::combineIndexedAttributes(): data"<<i<<"has an implementation-specific index type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(indexType)),
"MeshTools::combineIndexedAttributes(): data"<<i<<"has an implementation-specific index type"<<Debug::hex<<meshIndexTypeUnwrap(indexType),
"MeshTools::combineFaceAttributes(): vertex mesh has an implementation-specific index type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(meshIndexType)),
"MeshTools::combineFaceAttributes(): vertex mesh has an implementation-specific index type"<<Debug::hex<<meshIndexTypeUnwrap(meshIndexType),
"MeshTools::combineFaceAttributes(): face mesh has an implementation-specific index type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(faceAttributes.indexType())),
"MeshTools::combineFaceAttributes(): face mesh has an implementation-specific index type"<<Debug::hex<<meshIndexTypeUnwrap(faceAttributes.indexType()),
"MeshTools::concatenate(): attribute"<<i<<"of the first mesh has an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),
"MeshTools::concatenate(): attribute"<<i<<"of the first mesh has an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),
"MeshTools::concatenateInto(): attribute"<<i<<"of the destination mesh has an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),);
"MeshTools::concatenateInto(): attribute"<<i<<"of the destination mesh has an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),);
"MeshTools::interleavedLayout(): attribute"<<i<<"has an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(mesh.attributeFormat(i))),{});
"MeshTools::interleavedLayout(): attribute"<<i<<"has an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(mesh.attributeFormat(i)),{});
"MeshTools::interleavedLayout(): extra attribute"<<i<<"has an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),{});
"MeshTools::interleavedLayout(): extra attribute"<<i<<"has an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),{});
"MeshTools::interleave(): mesh has an implementation-specific index type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(indexType))<<Debug::nospace<<", enable MeshTools::InterleaveFlag::PreserveStridedIndices to pass the array through unchanged",
"MeshTools::interleave(): mesh has an implementation-specific index type"<<Debug::hex<<meshIndexTypeUnwrap(indexType)<<Debug::nospace<<", enable MeshTools::InterleaveFlag::PreserveStridedIndices to pass the array through unchanged",
"MeshTools::transformTextureCoordinates2D(): texture coordinates have an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(textureCoordinateAttributeFormat)),
"MeshTools::transformTextureCoordinates2D(): texture coordinates have an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(textureCoordinateAttributeFormat),
(Trade::MeshData{MeshPrimitive::Points,0}));
(Trade::MeshData{MeshPrimitive::Points,0}));
/* Copy original attributes to a mutable array so we can update the
/* Copy original attributes to a mutable array so we can update the
"pixelFormatChannelFormat(): can't determine channel format of an implementation-specific format"<<reinterpret_cast<void*>(pixelFormatUnwrap(format)),{});
"pixelFormatChannelFormat(): can't determine channel format of an implementation-specific format"<<Debug::hex<<pixelFormatUnwrap(format),{});
"pixelFormatChannelCount(): can't determine channel count of an implementation-specific format"<<reinterpret_cast<void*>(pixelFormatUnwrap(format)),{});
"pixelFormatChannelCount(): can't determine channel count of an implementation-specific format"<<Debug::hex<<pixelFormatUnwrap(format),{});
"compressedPixelFormatBlockSize(): can't determine size of an implementation-specific format"<<reinterpret_cast<void*>(compressedPixelFormatUnwrap(format)),{});
"compressedPixelFormatBlockSize(): can't determine size of an implementation-specific format"<<Debug::hex<<compressedPixelFormatUnwrap(format),{});
"compressedPixelFormatBlockDataSize(): can't determine size of an implementation-specific format"<<reinterpret_cast<void*>(compressedPixelFormatUnwrap(format)),{});
"compressedPixelFormatBlockDataSize(): can't determine size of an implementation-specific format"<<Debug::hex<<compressedPixelFormatUnwrap(format),{});
@ -583,7 +583,7 @@ void MeshData::indicesInto(const Containers::StridedArrayView1D<UnsignedInt>& de
"Trade::MeshData::indicesInto(): the mesh is not indexed",);
"Trade::MeshData::indicesInto(): the mesh is not indexed",);
CORRADE_ASSERT(destination.size()==indexCount(),"Trade::MeshData::indicesInto(): expected a view with"<<indexCount()<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==indexCount(),"Trade::MeshData::indicesInto(): expected a view with"<<indexCount()<<"elements but got"<<destination.size(),);
"Trade::MeshData::indicesInto(): can't extract data out of an implementation-specific index type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(_indexType)),);
"Trade::MeshData::indicesInto(): can't extract data out of an implementation-specific index type"<<Debug::hex<<meshIndexTypeUnwrap(_indexType),);
@ -617,7 +617,7 @@ void MeshData::positions2DInto(const Containers::StridedArrayView1D<Vector2>& de
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::positions2DInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::positions2DInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::positions2DInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::positions2DInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
@ -672,7 +672,7 @@ void MeshData::positions3DInto(const Containers::StridedArrayView1D<Vector3>& de
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::positions3DInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::positions3DInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::positions3DInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::positions3DInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::tangentsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::tangentsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::tangentsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::tangentsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
/* If the tangent is four-component, ignore the last component; otherwise
/* If the tangent is four-component, ignore the last component; otherwise
copy/unpackgivenformatdirectly*/
copy/unpackgivenformatdirectly*/
@ -810,7 +810,7 @@ void MeshData::bitangentSignsInto(const Containers::StridedArrayView1D<Float>& d
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::bitangentSignsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::bitangentSignsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::bitangentSignsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::bitangentSignsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
@ -842,7 +842,7 @@ void MeshData::bitangentsInto(const Containers::StridedArrayView1D<Vector3>& des
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::bitangentsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::bitangentsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::bitangentsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::bitangentsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::normalsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::normalsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::normalsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::normalsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::textureCoordinates2DInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::textureCoordinates2DInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::textureCoordinatesInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::textureCoordinatesInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::colorsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::colorsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::colorsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::colorsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
"Trade::MeshData::jointIdsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::jointIdsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
"Trade::MeshData::weightsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::weightsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::objectIdsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
CORRADE_ASSERT(destination.size()==_vertexCount,"Trade::MeshData::objectIdsInto(): expected a view with"<<_vertexCount<<"elements but got"<<destination.size(),);
"Trade::MeshData::objectIdsInto(): can't extract data out of an implementation-specific vertex format"<<reinterpret_cast<void*>(vertexFormatUnwrap(attribute._format)),);
"Trade::MeshData::objectIdsInto(): can't extract data out of an implementation-specific vertex format"<<Debug::hex<<vertexFormatUnwrap(attribute._format),);
"Trade::MeshIndexData: can't create index data from a contiguous view and an implementation-specific type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(type))<<Debug::nospace<<", pass a strided view instead",);
"Trade::MeshIndexData: can't create index data from a contiguous view and an implementation-specific type"<<Debug::hex<<meshIndexTypeUnwrap(type)<<Debug::nospace<<", pass a strided view instead",);
conststd::size_ttypeSize=meshIndexTypeSize(type);
conststd::size_ttypeSize=meshIndexTypeSize(type);
CORRADE_ASSERT(erased.size()%typeSize==0,
CORRADE_ASSERT(erased.size()%typeSize==0,
"Trade::MeshIndexData: view size"<<erased.size()<<"does not correspond to"<<type,);
"Trade::MeshIndexData: view size"<<erased.size()<<"does not correspond to"<<type,);
@ -2657,7 +2657,7 @@ template<class T> Containers::StridedArrayView1D<const T> MeshData::indices() co
"Trade::MeshData::indices(): can't cast data from an implementation-specific index type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(_indexType)),{});
"Trade::MeshData::indices(): can't cast data from an implementation-specific index type"<<Debug::hex<<meshIndexTypeUnwrap(_indexType),{});
"Trade::MeshData::mutableIndices(): can't cast data from an implementation-specific index type"<<reinterpret_cast<void*>(meshIndexTypeUnwrap(_indexType)),{});
"Trade::MeshData::mutableIndices(): can't cast data from an implementation-specific index type"<<Debug::hex<<meshIndexTypeUnwrap(_indexType),{});
prefix<<attribute._name<<"is"<<attribute._format<<"but requested a type equivalent to"<<Implementation::vertexFormatFor<typenamestd::remove_extent<T>::type>(),false);
prefix<<attribute._name<<"is"<<attribute._format<<"but requested a type equivalent to"<<Implementation::vertexFormatFor<typenamestd::remove_extent<T>::type>(),false);
"vertexFormatComponentCount(): can't determine component count of an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),{});
"vertexFormatComponentCount(): can't determine component count of an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),{});
"vertexFormatComponentFormat(): can't determine component format of an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),{});
"vertexFormatComponentFormat(): can't determine component format of an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),{});
"vertexFormatVectorCount(): can't determine vector count of an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),{});
"vertexFormatVectorCount(): can't determine vector count of an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),{});
"vertexFormatVectorStride(): can't determine vector count of an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),{});
"vertexFormatVectorStride(): can't determine vector count of an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),{});
"isVertexFormatNormalized(): can't determine normalization of an implementation-specific format"<<reinterpret_cast<void*>(vertexFormatUnwrap(format)),{});
"isVertexFormatNormalized(): can't determine normalization of an implementation-specific format"<<Debug::hex<<vertexFormatUnwrap(format),{});