Home
last modified time | relevance | path

Searched refs:alphaMode (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_data_structures.h134 NONE // use alphaMode if blendMode not mentioned, (default)
396 // The `alphaMode` property specifies how alpha is interpreted.
407 // assumed. The `alphaMode` property specifies how alpha is
475 AlphaMode alphaMode = AlphaMode::OPAQUE; member
516 // material. The 'alphaMode' property specifies how alpha is interpreted. The values are linear.
521 // material. Otherwise, an alpha of 1.0 is assumed. The `alphaMode` property specifies how alpha is interpreted.
H A Dgltf2_exporter.cpp1122 exportMaterial.alphaMode = AlphaMode::BLEND; in UpdateShaderStateToGltfMaterial()
1136 exportMaterial.alphaMode = AlphaMode::BLEND; in UpdateShaderStateToGltfMaterial()
1191 exportMaterial.alphaMode = AlphaMode::OPAQUE; in ExportGltfMaterial()
1197 exportMaterial.alphaMode = AlphaMode::MASK; in ExportGltfMaterial()
1788 if (material->alphaMode != AlphaMode::OPAQUE) { in ExportMaterials()
1789 jsonMaterial["alphaMode"] = GetAlphaMode(material->alphaMode); in ExportMaterials()
H A Dgltf2_loader.cpp1371 string alphaMode;
1372 if (!ParseOptionalString(loadResult, alphaMode, jsonData, "alphaMode", "OPAQUE")) {
1376 if (!GetAlphaMode(alphaMode, material->alphaMode)) {
H A Dgltf2_importer.cpp1664 if (gltfMaterial.alphaMode == GLTF2::AlphaMode::BLEND) { // blending -> no shadows in SelectShaders()
1667 } else if (gltfMaterial.alphaMode == GLTF2::AlphaMode::BLEND) { in SelectShaders()
1734 if (gltfMaterial.alphaMode == GLTF2::AlphaMode::MASK) { in ImportMaterial()

Completed in 14 milliseconds