Table of Contents

Interface IResourceProvider

Namespace
Termule.Engine.Systems.Resources
Assembly
Termule.Engine.dll

Denotes a type that sources resources for a ResourceLoader .

public interface IResourceProvider

Methods

GetResourceStream(string)

Gets a stream of a resource's data.

Stream GetResourceStream(string name)

Parameters

name string

The name of the resource.

Returns

Stream

The resource stream.

ResourceExists(string)

Checks if a resource is available.

bool ResourceExists(string name)

Parameters

name string

The name of the resource.

Returns

bool

Whether the resource was found.