Home
last modified time | relevance | path

Searched refs:AlphaMode (Results 1 - 5 of 5) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_util.h35 bool GetAlphaMode(BASE_NS::string_view dataType, AlphaMode& out);
51 BASE_NS::string_view GetAlphaMode(AlphaMode mode);
H A Dgltf2_util.cpp365 bool GetAlphaMode(const string_view dataType, AlphaMode& out) in GetAlphaMode()
367 out = AlphaMode::OPAQUE; in GetAlphaMode()
372 out = AlphaMode::BLEND; in GetAlphaMode()
374 out = AlphaMode::MASK; in GetAlphaMode()
376 out = AlphaMode::OPAQUE; in GetAlphaMode()
575 string_view GetAlphaMode(AlphaMode aMode) in GetAlphaMode()
578 case AlphaMode::BLEND: in GetAlphaMode()
580 case AlphaMode::MASK: in GetAlphaMode()
582 case AlphaMode::OPAQUE: in GetAlphaMode()
H A Dgltf2_data_structures.h116 enum class AlphaMode : int { class in GLTF2::AttributeType::RenderMode
475 AlphaMode alphaMode = AlphaMode::OPAQUE;
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()
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 13 milliseconds