Loader.get

Returns a resource by name or path.

class Loader
@safe
T
get
(
T
)
(
immutable string name
)

Parameters

name string

name resource(or path)

Return Value

Type: T

null if the resource is not found. If found, will return a T of the appropriate size.

Meta