Imaginary Game Engine API documentation
OpenFile<(Of <(T>)>) Method (file)
NamespacesIGEEngineOpenFile<(Of <(T>)>)(String)

[This is preliminary documentation and is subject to change.]

Open a file or pull it from the cache
Declaration Syntax
C#Visual BasicVisual C++
public T OpenFile<T>(
	string file
) where T : ReadFile
Public Function OpenFile(Of T As ReadFile) ( _
	file As String _
) As T
public:
generic<typename T>
where T : ReadFile
T OpenFile(
	String^ file
)
Generic Template Parameters
T
File loader to use to open the file
Parameters
file (String)
Path to the file
Return Value
The opened file

Assembly: IGE Core (Module: IGE Core) Version: 0.1.2957.39562 (0.1.0.0)