Class DefaultTexturePathResolver
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.Assimp.dll
public class DefaultTexturePathResolver : ITexturePathResolver
- Inheritance
-
DefaultTexturePathResolver
- Implements
- Inherited Members
Methods
FileExists(string)
protected virtual bool FileExists(string path)
Parameters
pathstring
Returns
HandleTexturePathNotFound(string, string)
Handles the texture path not found. Override to provide your own handling
protected virtual string HandleTexturePathNotFound(string dir, string texturePath)
Parameters
Returns
OnLoadTexture(string, string)
Called when [load texture].
protected virtual string? OnLoadTexture(string modelPath, string texturePath)
Parameters
Returns
Resolve(string, string)
Resolves the texture path.
public string? Resolve(string modelPath, string texturePath)
Parameters
Returns
- string
Absolute file path for the texture