LoadContent Method

Project Mercury API

[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

ExceptionCondition
System..::.InvalidOperationExceptionThrown if the GraphicsDeviceService has not been set.
ContentLoadExceptionThrown if the content item defined in the ShaderContentPath property could not be loaded.

See Also