Method | Description | |
---|---|---|
Add ( IContentHost host ) : void |
Register an IContentHost instance with this content manager
|
|
ContentCatalogue ( Application application ) : System |
Construct a object content manager, creating an XNA content manager
|
|
ContentCatalogue ( Application application, Microsoft.Xna.Framework.Content.ContentManager manager ) : System |
Construct a object content manager
|
|
ContentCatalogue ( Application application, string rootDirectory ) : System |
Construct a object content manager, creating an XNA content manager
|
|
Dispose ( ) : void |
Dispose the Content manager and unload all instances
|
|
Remove ( IContentHost host ) : void |
Unregister an IContentHost instance with this content manager. NOTE: Instances are stored by weak reference and do not need to be manually removed (see remarks) Instances are stored by weak reference, so this method should only be called when removing the object early is desired. Instances will not be kept alive when added, and do not need to be removed to make sure they are garbage collected |
Method | Description | |
---|---|---|
AddHighPriority ( IContentHost host ) : void | ||
CallLoad ( ) : void | ||
CallUnload ( ) : void | ||
DeviceCreated ( object sender, |
||
DeviceReset ( object sender, |
||
DeviceResetting ( object sender, |
||
ProcessDelayed ( ) : void |
public ContentCatalogue ( Application application ) : System | ||
application | Application | Application instance |
return | System |
public ContentCatalogue ( Application application, Microsoft.Xna.Framework.Content.ContentManager manager ) : System | ||
application | Application | Application instance |
manager | Microsoft.Xna.Framework.Content.ContentManager | XNA ContentManager instatnce |
return | System |
public ContentCatalogue ( Application application, string rootDirectory ) : System | ||
application | Application | Application instance |
rootDirectory | string | Root content directory |
return | System |