Click or drag to resize
AB4D logo

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.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
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

Boolean
true if the specified file name has a file extension that is supported with this TextureLoader
See Also