Deprecated list

See also Deprecated OpenGL API list.

File Conversion.h
Use Magnum/OvrIntegration/Integration.h instead.
File Distance.h
Use Magnum/Math/Distance.h instead.
File Document.h
Use Magnum/OpenDdl/Document.h instead.
File GenerateFlatNormals.h
Use Magnum/MeshTools/GenerateNormals.h instead.
File Intersection.h
Use Magnum/Math/Intersection.h instead.
Directory Magnum/Math/Geometry
Use Magnum/Math/Distance.h and Magnum/Math/Intersection.h instead.
Member Magnum::Audio::Buffer::Format
Use BufferFormat instead.
Member Magnum::Audio::PlayableGroup<dimensions>::setClean ()
Use Listener::update() instead.
Member Magnum::BulletIntegration::DebugDraw::DebugMode
Use Mode instead.
Member Magnum::BulletIntegration::DebugDraw::debugMode () const
Use mode() instead.
Member Magnum::BulletIntegration::DebugDraw::DebugModes
Use Modes instead.
Member Magnum::BulletIntegration::DebugDraw::FastWirefram
Use Mode::FastWireframe instead.
Member Magnum::BulletIntegration::DebugDraw::setDebugMode (Modes mode)
Use setMode() instead.
Member Magnum::CompressedImage<dimensions>::data ()
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::CompressedImage<dimensions>::data () const
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::CompressedImageView<dimensions, T>::data () const
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::DebugTools::ForceRendererOptions::scale () const
Use size() instead.
Member Magnum::GL::CubeMapTexture::setSRGBDecode (bool decode)
Use setSrgbDecode() instead.
Member Magnum::GL::CubeMapTextureArray::setSRGBDecode (bool decode)
Use setSrgbDecode() instead.
Member Magnum::GL::R3B3G2
This one had a misleading typo in the name, use TextureFormat::R3G3B2 instead.
Member Magnum::GL::RectangleTexture::setSRGBDecode (bool decode)
Use setSrgbDecode() instead.
Member Magnum::GL::Renderer::FramebufferSRGB
Use Feature::FramebufferSrgb instead.
Member Magnum::GL::Texture<dimensions>::setSRGBDecode (bool decode)
Use setSrgbDecode() instead.
Member Magnum::GL::TextureArray<dimensions>::setSRGBDecode (bool decode)
Use setSrgbDecode() instead.
Member Magnum::Image<dimensions>::data ()
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::Image<dimensions>::data () const
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::ImageView<dimensions, T>::data () const
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::LoadPernament
Use InputFileCallbackPolicy::LoadPermanent instead.
Member Magnum::Math::Color3<T>::fromHsv (Deg<FloatingPointType> hue, FloatingPointType saturation, FloatingPointType value)
Use fromHsv(const ColorHsv<FloatingPointType>&) instead.
Member Magnum::Math::Color3<T>::Hsv
Use ColorHsv instead.
Member Magnum::Math::Color4<T>::fromHsv (Deg<FloatingPointType> hue, FloatingPointType saturation, FloatingPointType value, T alpha=Implementation::fullChannel<T>())
Use fromHsv(const ColorHsv<FloatingPointType>&, T) instead.
Member Magnum::Math::Color4<T>::Hsv
Use ColorHsv instead.
Member Magnum::Math::ColorHsv<T>::ColorHsv (std::tuple<Deg<T>, T, T> hsv) noexcept
Use ColorHsv instead of Color3::Hsv
Member Magnum::Math::ColorHsv<T>::operator std::tuple<Deg<T>, T, T> () const
Use ColorHsv instead of Color3::Hsv
Member Magnum::Math::Frustum<T>::planes () const
Use operator[](std::size_t) const, data() or begin() / end() instead.
Namespace Magnum::Math::Geometry
Use Magnum::Math::Distance and Magnum::Math::Intersection namespaces instead.
Namespace Magnum::Math::Geometry::Distance
Use Magnum::Math::Distance instead.
Member Magnum::Math::Geometry::Distance::linePoint (const Vector2<T>&a, const Vector2<T>&b, const Vector2<T>&point)
Use Math::Distance::linePoint(const Vector2<T>&, const Vector2<T>&, const Vector2<T>&) instead.
Member Magnum::Math::Geometry::Distance::linePoint (const Vector3<T>&a, const Vector3<T>&b, const Vector3<T>&point)
Use Math::Distance::linePoint(const Vector3<T>&, const Vector3<T>&, const Vector3<T>&) instead.
Member Magnum::Math::Geometry::Distance::linePointSquared (const Vector2<T>&a, const Vector2<T>&b, const Vector2<T>&point)
Use Math::Distance::linePointSquared(const Vector2<T>&, const Vector2<T>&, const Vector2<T>&) instead.
Member Magnum::Math::Geometry::Distance::linePointSquared (const Vector3<T>&a, const Vector3<T>&b, const Vector3<T>&point)
Use Math::Distance::linePointSquared(const Vector3<T>&, const Vector3<T>&, const Vector3<T>&) instead.
Member Magnum::Math::Geometry::Distance::lineSegmentPoint (const Vector2<T>&a, const Vector2<T>&b, const Vector2<T>&point)
Use Math::Distance::lineSegmentPoint(const Vector2<T>&, const Vector2<T>&, const Vector2<T>&) instead.
Member Magnum::Math::Geometry::Distance::lineSegmentPoint (const Vector3<T>&a, const Vector3<T>&b, const Vector3<T>&point)
Use Math::Distance::lineSegmentPoint(const Vector3<T>&, const Vector3<T>&, const Vector3<T>&) instead.
Member Magnum::Math::Geometry::Distance::lineSegmentPointSquared (const Vector2<T>&a, const Vector2<T>&b, const Vector2<T>&point)
Use Math::Distance::lineSegmentPointSquared(const Vector2<T>&, const Vector2<T>&, const Vector2<T>&) instead.
Member Magnum::Math::Geometry::Distance::lineSegmentPointSquared (const Vector3<T>&a, const Vector3<T>&b, const Vector3<T>&point)
Use Math::Distance::lineSegmentPointSquared(const Vector3<T>&, const Vector3<T>&, const Vector3<T>&) instead.
Member Magnum::Math::Geometry::Distance::pointPlane (const Vector3<T>&point, const Vector4<T>&plane)
Use Math::Distance::pointPlane(const Vector3<T>&, const Vector4<T>&) instead.
Member Magnum::Math::Geometry::Distance::pointPlaneNormalized (const Vector3<T>&point, const Vector4<T>&plane)
Use Math::Distance::pointPlaneNormalized(const Vector3<T>&, const Vector4<T>&) instead.
Member Magnum::Math::Geometry::Distance::pointPlaneScaled (const Vector3<T>&point, const Vector4<T>&plane)
Use Math::Distance::pointPlaneScaled(const Vector3<T>&, const Vector4<T>&) instead.
Namespace Magnum::Math::Geometry::Intersection
Use Magnum::Math::Intersection instead.
Member Magnum::Math::Geometry::Intersection::boxFrustum (const Range3D<T>&box, const Frustum<T>&frustum)
Use Math::Intersection::rangeFrustum(const Range3D<T>&, const Frustum<T>&) instead.
Member Magnum::Math::Geometry::Intersection::lineSegmentLine (const Vector2<T>&p, const Vector2<T>&r, const Vector2<T>&q, const Vector2<T>&s)
Use Math::Intersection::lineSegmentLine(const Vector2<T>&, const Vector2<T>&, const Vector2<T>&, const Vector2<T>&) instead.
Member Magnum::Math::Geometry::Intersection::lineSegmentLineSegment (const Vector2<T>&p, const Vector2<T>&r, const Vector2<T>&q, const Vector2<T>&s)
Use Math::Intersection::lineSegmentLineSegment(const Vector2<T>&, const Vector2<T>&, const Vector2<T>&, const Vector2<T>&) instead.
Member Magnum::Math::Geometry::Intersection::planeLine (const Vector3<T>&planePosition, const Vector3<T>&planeNormal, const Vector3<T>&p, const Vector3<T>&r)
Use Math::Intersection::planeLine(const Vector3<T>&, const Vector3<T>&, const Vector3<T>&, const Vector3<T>&) instead.
Member Magnum::Math::Geometry::Intersection::pointFrustum (const Vector3<T>&point, const Frustum<T>&frustum)
Use Math::Intersection::pointFrustum(const Vector3<T>&, const Frustum<T>&) instead.
Member Magnum::Math::Intersection::planeLine (const Vector3<T>&planePosition, const Vector3<T>&planeNormal, const Vector3<T>&p, const Vector3<T>&r)
Use planeLine(const Vector4<T>&, const Vector3<T>&, const Vector3<T>&) together with planeEquation(const Vector3<T>&, const Vector3<T>&, const Vector3<T>&) instead.
Member Magnum::Math::swizzle (const T&vector)
Use gather instead.
Member Magnum::MeshTools::compile (const Trade::MeshData2D&meshData, GL::BufferUsage usage)
Use compile(const Trade::MeshData2D&) instead. The usage parameter is ignored and returned buffer instances are empty.
Member Magnum::MeshTools::compile (const Trade::MeshData3D&meshData, GL::BufferUsage usage)
Use compile(const Trade::MeshData3D&, CompileFlags) instead. The usage parameter is ignored and returned buffer instances are empty.
Member Magnum::MeshTools::generateFlatNormals (const std::vector<UnsignedInt>&indices, const std::vector<Vector3>&positions)
This will generate index buffer that's different from the input indices array, so you'll need to recombine them using combineIndexedArrays() in order to have a single index array for both vertices and normals. Because this makes the usage more complex than strictly neccessary, this function is deprecated in favor of generateFlatNormals(const Containers::StridedArrayView1D<const Vector3>&).
Member Magnum::Platform::BasicScreen<Application>::viewportEvent (const Vector2i&size)
Use viewportEvent(ViewportEvent&) instead. To preserve backwards compatibility, this function is called from viewportEvent(ViewportEvent&) with *Application::ViewportEvent::windowSize() passed to size. Overriding the new function will cause this function to not be called anymore.
Member Magnum::Platform::GlfwApplication::GLConfiguration::isSRGBCapable () const
Use isSrgbCapable() instead.
Member Magnum::Platform::GlfwApplication::GLConfiguration::setSRGBCapable (bool enabled)
Use setSrgbCapable() instead.
Member Magnum::Platform::GlfwApplication::KeyEvent::Smicolon
Use Key::Semicolon instead.
Member Magnum::Platform::GlfwApplication::viewportEvent (const Vector2i&size)
Use viewportEvent(ViewportEvent&) instead. To preserve backwards compatibility, this function is called from viewportEvent(ViewportEvent&) with ViewportEvent::windowSize() passed to size. Overriding the new function will cause this function to not be called anymore.
Member Magnum::Platform::Sdl2Application::Configuration::AllowHighDpi
Has no effect, as this flag is passed implicitly on platforms where needed. See DPI awareness for more information.
Member Magnum::Platform::Sdl2Application::GLConfiguration::isSRGBCapable () const
Use isSrgbCapable() instead.
Member Magnum::Platform::Sdl2Application::GLConfiguration::setSRGBCapable (bool enabled)
Use setSrgbCapable() instead.
Member Magnum::Platform::Sdl2Application::viewportEvent (const Vector2i&size)
Use viewportEvent(ViewportEvent&) instead. To preserve backwards compatibility, this function is called from viewportEvent(ViewportEvent&) with ViewportEvent::framebufferSize() passed to size. Overriding the new function will cause this function to not be called anymore.
Member Magnum::Shaders::AbstractVector<dimensions>::setVectorTexture (GL::Texture2D&texture)
Use bindVectorTexture() instead.
Member Magnum::Shaders::Flat<dimensions>::setTexture (GL::Texture2D&texture)
Use bindTexture() instead.
Class Magnum::Shaders::Generic<dimensions>::Color
Use Color3 or Color4 instead.
Member Magnum::Shaders::Generic<dimensions>::Color::Color (Components components, DataType dataType=DataType::Float, DataOptions dataOptions={})
Use Color3 or Color4 instead.
Member Magnum::Shaders::Generic<dimensions>::Color::Color (DataType dataType=DataType::Float, DataOptions dataOptions={})
Use Color3 or Color4 instead.
Member Magnum::Shaders::Phong::setAmbientTexture (GL::Texture2D&texture)
Use bindAmbientTexture() instead.
Member Magnum::Shaders::Phong::setDiffuseTexture (GL::Texture2D&texture)
Use bindDiffuseTexture() instead.
Member Magnum::Shaders::Phong::setSpecularTexture (GL::Texture2D&texture)
Use bindSpecularTexture() instead.
Member Magnum::Shaders::Phong::setTextures (GL::Texture2D*ambient, GL::Texture2D*diffuse, GL::Texture2D*specular)
Use bindTextures() instead.
Member Magnum::Shaders::VertexColor<dimensions>::Color
Use Color3 or Color4 instead.
Member Magnum::Text::AbstractFont::MultiFile
Obsolete, use file callbacks instead.
Member Magnum::Text::AbstractFont::openData (const std::vector<std::pair<std::string, Containers::ArrayView<const char>>>&data, Float size)
Use openFile() with setFileCallback() for opening multi-file fonts instead.
Member Magnum::Text::AbstractFont::openSingleData (Containers::ArrayView<const char> data, Float size)
Use openData(Containers::ArrayView<const char>, Float) instead.
Member Magnum::TextureTools::distanceField (GL::Texture2D&input, GL::Texture2D&output, const Range2Di&rectangle, Int radius, const Vector2i&imageSize=Vector2i{})
Deprecated due to inefficiency of its statelessness when doing batch processing. Use the DistanceField class instead.
Member Magnum::Trade::AbstractMaterialData::AbstractMaterialData (MaterialType type, const void*importerState=nullptr) noexcept
Use AbstractMaterialData(MaterialType, Flags, MaterialAlphaMode, Float, const void*) instead.
Member Magnum::Trade::CameraData::CameraData (Rad fov, Float near, Float far, const void*importerState=nullptr) noexcept
Use CameraData(CameraType, Rad, Float, Float, Float, const void*) instead.
Member Magnum::Trade::ImageData<dimensions>::data ()
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::Trade::ImageData<dimensions>::data () const
Use non-templated data() together with Corrade::Containers::arrayCast() instead for properly bounds-checked type conversion.
Member Magnum::Trade::ImporterFileCallbackPolicy
Use InputFileCallbackPolicy instead.
Member Magnum::Trade::PhongMaterialData::PhongMaterialData (Flags flags, Float shininess, const void*importerState=nullptr) noexcept
Use PhongMaterialData(Flags, MaterialAlphaMode, Float, Float, const void*) instead.
Member Magnum::Ui::AbstractPlane::Flag
Use PlaneFlag instead.
Member Magnum::Ui::AbstractPlane::Flags
Use PlaneFlags instead.
Member Magnum::Ui::UserInterface::UserInterface (const Vector2&size, const Vector2i&screenSize, Text::AbstractFont&font)
Use either UserInterface(const Vector2&, const Vector2i&, const std::string&) or UserInterface(const Vector2&, const Vector2i&, Text::AbstractFont&, Text::GlyphCache&, const StyleConfiguration&) instead.
Member Magnum::Ui::UserInterface::UserInterface (const Vector2&size, const Vector2i&screenSize, Text::AbstractFont&font, const StyleConfiguration&styleConfiguration)
Use either UserInterface(const Vector2&, const Vector2i&, const StyleConfiguration&, const std::string&) or UserInterface(const Vector2&, const Vector2i&, Text::AbstractFont&, Text::GlyphCache&, const StyleConfiguration&) instead.
Member MAGNUM_BUILD_MULTITHREADED
Use CORRADE_BUILD_MULTITHREADED instead.
Directory MagnumPlugins/OpenGexImporter/OpenDdl
Use the Magnum/OpenDdl path instead.
File OpenDdl.h
Use Magnum/OpenDdl/OpenDdl.h instead.
File Property.h
Use Magnum/OpenDdl/Property.h instead.
File Structure.h
Use Magnum/OpenDdl/Structure.h instead.
File Type.h
Use Magnum/OpenDdl/Type.h instead.
File Validation.h
Use Magnum/OpenDdl/Validation.h instead.