LoadContent Method
From Project Mercury API
| Project Mercury API Reference |
| PointSpriteRenderer..::.LoadContent Method |
| PointSpriteRenderer Class See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
Loads any content that is needed by the renderer.
Namespace:
ProjectMercury.Renderers
Assembly:
ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0
Syntax
| C# |
|---|
public override void LoadContent( ContentManager content ) |
| Visual Basic (Declaration) |
|---|
Public Overrides Sub LoadContent ( _ content As ContentManager _ ) |
| Visual C++ |
|---|
public: virtual void LoadContent( ContentManager^ content ) override |
Parameters
- content
- Type: ContentManager
[Missing <param name="content"/> documentation for "M:ProjectMercury.Renderers.PointSpriteRenderer.LoadContent(Microsoft.Xna.Framework.Content.ContentManager)"]
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | Thrown if the GraphicsDeviceService has not been set. |
| ContentLoadException | Thrown if the content item defined in the ShaderContentPath property could not be loaded. |