|
|
|
@ -925,10 +925,18 @@ Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers:: |
|
|
|
return add(references, name); |
|
|
|
return add(references, name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<ImageView1D> imageLevels, const Containers::StringView name) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), name);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const ImageView1D> imageLevels) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const ImageView1D> imageLevels) { |
|
|
|
return add(imageLevels, {}); |
|
|
|
return add(imageLevels, {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<ImageView1D> imageLevels) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), {});
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView1D> imageLevels, const Containers::StringView name) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView1D> imageLevels, const Containers::StringView name) { |
|
|
|
/** @todo ArrayTuple or StaticAllocator? */ |
|
|
|
/** @todo ArrayTuple or StaticAllocator? */ |
|
|
|
Containers::Array<ImageData1D> data{NoInit, imageLevels.size()}; |
|
|
|
Containers::Array<ImageData1D> data{NoInit, imageLevels.size()}; |
|
|
|
@ -942,9 +950,17 @@ Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers:: |
|
|
|
return add(references, name); |
|
|
|
return add(references, name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<CompressedImageView1D> imageLevels, const Containers::StringView name) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), name);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView1D> imageLevels) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView1D> imageLevels) { |
|
|
|
return add(imageLevels, {}); |
|
|
|
return add(imageLevels, {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<CompressedImageView1D> imageLevels) { |
|
|
|
|
|
|
|
return add(Containers::arrayView(imageLevels), {}); |
|
|
|
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
UnsignedInt AbstractSceneConverter::image2DCount() const { |
|
|
|
UnsignedInt AbstractSceneConverter::image2DCount() const { |
|
|
|
CORRADE_ASSERT(_state, "Trade::AbstractSceneConverter::image2DCount(): no conversion in progress", {}); |
|
|
|
CORRADE_ASSERT(_state, "Trade::AbstractSceneConverter::image2DCount(): no conversion in progress", {}); |
|
|
|
@ -1040,10 +1056,18 @@ Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers:: |
|
|
|
return add(references, name); |
|
|
|
return add(references, name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<ImageView2D> imageLevels, const Containers::StringView name) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), name);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const ImageView2D> imageLevels) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const ImageView2D> imageLevels) { |
|
|
|
return add(imageLevels, {}); |
|
|
|
return add(imageLevels, {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<ImageView2D> imageLevels) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), {});
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView2D> imageLevels, const Containers::StringView name) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView2D> imageLevels, const Containers::StringView name) { |
|
|
|
/** @todo ArrayTuple or StaticAllocator? */ |
|
|
|
/** @todo ArrayTuple or StaticAllocator? */ |
|
|
|
Containers::Array<ImageData2D> data{NoInit, imageLevels.size()}; |
|
|
|
Containers::Array<ImageData2D> data{NoInit, imageLevels.size()}; |
|
|
|
@ -1057,10 +1081,18 @@ Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers:: |
|
|
|
return add(references, name); |
|
|
|
return add(references, name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<CompressedImageView2D> imageLevels, const Containers::StringView name) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), name);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView2D> imageLevels) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView2D> imageLevels) { |
|
|
|
return add(imageLevels, {}); |
|
|
|
return add(imageLevels, {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<CompressedImageView2D> imageLevels) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), {});
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
UnsignedInt AbstractSceneConverter::image3DCount() const { |
|
|
|
UnsignedInt AbstractSceneConverter::image3DCount() const { |
|
|
|
CORRADE_ASSERT(_state, "Trade::AbstractSceneConverter::image3DCount(): no conversion in progress", {}); |
|
|
|
CORRADE_ASSERT(_state, "Trade::AbstractSceneConverter::image3DCount(): no conversion in progress", {}); |
|
|
|
return _state->image3DCount; |
|
|
|
return _state->image3DCount; |
|
|
|
@ -1155,10 +1187,18 @@ Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers:: |
|
|
|
return add(references, name); |
|
|
|
return add(references, name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<ImageView3D> imageLevels, const Containers::StringView name) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), name);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const ImageView3D> imageLevels) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const ImageView3D> imageLevels) { |
|
|
|
return add(imageLevels, {}); |
|
|
|
return add(imageLevels, {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<ImageView3D> imageLevels) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), {});
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView3D> imageLevels, const Containers::StringView name) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView3D> imageLevels, const Containers::StringView name) { |
|
|
|
/** @todo ArrayTuple or StaticAllocator? */ |
|
|
|
/** @todo ArrayTuple or StaticAllocator? */ |
|
|
|
Containers::Array<ImageData3D> data{NoInit, imageLevels.size()}; |
|
|
|
Containers::Array<ImageData3D> data{NoInit, imageLevels.size()}; |
|
|
|
@ -1172,10 +1212,18 @@ Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers:: |
|
|
|
return add(references, name); |
|
|
|
return add(references, name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<CompressedImageView3D> imageLevels, const Containers::StringView name) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), name);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView3D> imageLevels) { |
|
|
|
Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const Containers::ArrayView<const CompressedImageView3D> imageLevels) { |
|
|
|
return add(imageLevels, {}); |
|
|
|
return add(imageLevels, {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Containers::Optional<UnsignedInt> AbstractSceneConverter::add(const std::initializer_list<CompressedImageView3D> imageLevels) {
|
|
|
|
|
|
|
|
// return add(Containers::arrayView(imageLevels), {});
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Debug& operator<<(Debug& debug, const SceneConverterFeature value) { |
|
|
|
Debug& operator<<(Debug& debug, const SceneConverterFeature value) { |
|
|
|
debug << "Trade::SceneConverterFeature" << Debug::nospace; |
|
|
|
debug << "Trade::SceneConverterFeature" << Debug::nospace; |
|
|
|
|
|
|
|
|
|
|
|
|