|
TextureLoaderIsSupportedFileExtension Method |
Returns true if the specified file extension has a file extension that is supported with this TextureLoader.
File extension must start with leading period (for example ".png").
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public static bool IsSupportedFileExtension(
string fileExtension,
bool supportDDSTextures = true
)
Parameters
- fileExtension String
- file extension - must start with leading period (for example ".png")
- supportDDSTextures Boolean (Optional)
- true (by default) when dds file extensions are also supported
Return Value
Booleantrue if the specified file name has a file extension that is supported with this TextureLoader
See Also