Loads content types like images, sounds, xml files, levels, etc. Returns cached useable
instances and provides quick and easy access to all cached data plus creation of dynamic data.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Content ContentLoader
DeltaEngine.Content.Disk DiskContentLoader
DeltaEngine.Content.Mocks MockContentLoader
DeltaEngine.Content.Online DeveloperOnlineContentLoader
Namespace: DeltaEngine.Content
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The ContentLoader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ContentLoader | Initializes a new instance of the ContentLoader class |
Methods
Name | Description | |
---|---|---|
![]() | ClearBufferedResourcesAndMetaData | |
![]() ![]() | Create T | |
![]() | Dispose | |
![]() ![]() | DisposeIfInitialized | |
![]() ![]() | Exists(String) | |
![]() ![]() | Exists(String, ContentType) | |
![]() | GetContentDataStream | |
![]() | GetMetaData | |
![]() | HasValidContentMetaDataFile | |
![]() ![]() | Load Content | |
![]() | ReloadContent | |
![]() ![]() | RemoveResource | |
![]() ![]() | Use T |
Normally set in Platforms.AppRunner to DeveloperOnlineContentLoader by creating it.
Alternatively an application can create a different one (e.g. DiskContentLoader) before.
View code on GitHub |
Fields
Name | Description | |
---|---|---|
![]() | metaData |
Properties
Name | Description | |
---|---|---|
![]() ![]() | ContentLocale | |
![]() | ContentMetaDataFilePath | |
![]() | ContentProjectPath | |
![]() | LastTimeUpdated | |
![]() | StartedToRequestOnlineContent | |
![]() ![]() | Type |
See Also