file new in Git master
PhongToPbrMetallicRoughness.hEnum Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::MaterialTools new in Git master
- Material tools.
Enums
- enum class PhongToPbrMetallicRoughnessFlag { KeepOriginalAttributes = 1 << 0, DropUnconvertibleAttributes = 1 << 1, DropUnconvertableAttributes = DropUnconvertibleAttributes deprecated in Git master, FailOnUnconvertibleAttributes = (1 << 2)|DropUnconvertibleAttributes, FailOnUnconvertableAttributes = FailOnUnconvertibleAttributes deprecated in Git master } new in Git master
- Phong to PBR metallic/roughness conversion flag.
Typedefs
- using PhongToPbrMetallicRoughnessFlags = Containers::EnumSet<PhongToPbrMetallicRoughnessFlag> new in Git master
- Phong to PBR conversion flags.
Functions
- auto phongToPbrMetallicRoughness(const Trade::MaterialData& material, PhongToPbrMetallicRoughnessFlags flags = {}) -> Containers::Optional<Trade::MaterialData> new in Git master
- Convert a Phong material to PBR metallic/roughness.