| FigureRendererOnLoadEffect Method |
Called when the
Effect for rendering lines and shapes is loaded.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax protected virtual Effect OnLoadEffect(
IGraphicsService graphicsService
)
Protected Overridable Function OnLoadEffect (
graphicsService As IGraphicsService
) As Effect
protected:
virtual Effect^ OnLoadEffect(
IGraphicsService^ graphicsService
)
abstract OnLoadEffect :
graphicsService : IGraphicsService -> Effect
override OnLoadEffect :
graphicsService : IGraphicsService -> Effect
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
Return Value
Type:
EffectThe
Effect that renders lines and shapes.
Remarks Notes to Inheritors: Derived types may override this method to use a
different effect for rendering lines and shapes. (The method is called by the constructor of
the base class. This means that derived classes may not be initialized yet!)
See Also