feat: update Filament to v1.56.4
This commit is contained in:
@@ -38,6 +38,23 @@ namespace filament::gltfio {
|
||||
|
||||
class NodeManager;
|
||||
|
||||
// Use this struct to enable mikktspace-based tangent-space computation.
|
||||
/**
|
||||
* \struct AssetConfigurationExtended AssetLoader.h gltfio/AssetLoader.h
|
||||
* \brief extends struct AssetConfiguration
|
||||
* Useful if client needs mikktspace tangent space computation.
|
||||
* NOTE: Android, iOS, Web are not supported. And only disk-local glTF resources are supported.
|
||||
*/
|
||||
struct AssetConfigurationExtended {
|
||||
//! Optional The same parameter as provided to \struct ResourceConfiguration ResourceLoader.h
|
||||
//! gltfio/ResourceLoader.h
|
||||
char const* gltfPath;
|
||||
|
||||
//! Client can use this method to check if the extended implementation is supported on their
|
||||
//! platform or not.
|
||||
static bool isSupported();
|
||||
};
|
||||
|
||||
/**
|
||||
* \struct AssetConfiguration AssetLoader.h gltfio/AssetLoader.h
|
||||
* \brief Construction parameters for AssetLoader.
|
||||
@@ -62,6 +79,10 @@ struct AssetConfiguration {
|
||||
|
||||
//! Optional default node name for anonymous nodes
|
||||
char* defaultNodeName = nullptr;
|
||||
|
||||
//! Optional to enable mikktspace tangents. Lifetime of struct only needs to be maintained for
|
||||
// the duration of the constructor of AssetLoader.
|
||||
AssetConfigurationExtended* ext = nullptr;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user