H A D | gltf2_exporter.cpp | 965 inline uint32_t GetTextureIndex(const MaterialComponent& materialDesc, in GetTextureIndex() argument 970 if (auto handle = gpuHandleManager.Read(materialDesc.textures[textureIndex].image); handle) { in GetTextureIndex() 976 if (auto handle = gpuHandleManager.Read(materialDesc.textures[textureIndex].sampler); handle) { in GetTextureIndex() 985 void ExportGltfMaterialMetallicRoughness(Material& exportMaterial, const MaterialComponent& materialDesc, in ExportGltfMaterialMetallicRoughness() argument 990 materialDesc.textures[MaterialComponent::TextureIndex::BASE_COLOR].factor; in ExportGltfMaterialMetallicRoughness() 992 GetTextureIndex(materialDesc, MaterialComponent::TextureIndex::BASE_COLOR, textureHelper, gpuHandleManager); in ExportGltfMaterialMetallicRoughness() 994 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.z; in ExportGltfMaterialMetallicRoughness() 996 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.y; in ExportGltfMaterialMetallicRoughness() 998 GetTextureIndex(materialDesc, MaterialComponent::TextureIndex::MATERIAL, textureHelper, gpuHandleManager); in ExportGltfMaterialMetallicRoughness() 1002 void ExportGltfMaterialClearcoat(Material& exportMaterial, const MaterialComponent& materialDesc, in ExportGltfMaterialClearcoat() argument 1023 ExportGltfMaterialIor(Material& exportMaterial, const MaterialComponent& materialDesc, TextureHelper& textureHelper, const IRenderHandleComponentManager& gpuHandleManager) ExportGltfMaterialIor() argument 1035 ExportGltfMaterialSheen(Material& exportMaterial, const MaterialComponent& materialDesc, TextureHelper& textureHelper, const IRenderHandleComponentManager& gpuHandleManager) ExportGltfMaterialSheen() argument 1050 ExportGltfMaterialSpecular(Material& exportMaterial, const MaterialComponent& materialDesc, TextureHelper& textureHelper, const IRenderHandleComponentManager& gpuHandleManager) ExportGltfMaterialSpecular() argument 1065 ExportGltfMaterialTransmission(Material& exportMaterial, const MaterialComponent& materialDesc, TextureHelper& textureHelper, const IRenderHandleComponentManager& gpuHandleManager) ExportGltfMaterialTransmission() argument 1079 ExportGltfMaterialSpecularGlossiness(Material& exportMaterial, const MaterialComponent& materialDesc, TextureHelper& textureHelper, const IRenderHandleComponentManager& gpuHandleManager) ExportGltfMaterialSpecularGlossiness() argument 1097 ExportGltfMaterialUnlit(Material& exportMaterial, const MaterialComponent& materialDesc, TextureHelper& textureHelper, const IRenderHandleComponentManager& gpuHandleManager) ExportGltfMaterialUnlit() argument 1108 UpdateShaderStateToGltfMaterial(const IDevice* device, Material& exportMaterial, const MaterialComponent& materialDesc, const IRenderHandleComponentManager& gpuHandleManager) UpdateShaderStateToGltfMaterial() argument 1144 ExportGltfMaterial(const IDevice* device, Material& exportMaterial, const MaterialComponent& materialDesc, TextureHelper& textureHelper, const IRenderHandleComponentManager& gpuHandleManager) ExportGltfMaterial() argument [all...] |