Class DefaultRenderPipeline
Default RenderPipeline.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class DefaultRenderPipeline : RenderPipeline, IDisposable
Fields
assetsService
The asset service.
Declaration
protected AssetsService assetsService
Field Value
Type | Description |
---|---|
AssetsService |
cameraDrawContextList
Camera drawContext list.
Declaration
protected List<CameraDrawContext> cameraDrawContextList
Field Value
Type | Description |
---|---|
List<CameraDrawContext> |
lightDrawContextList
Light drawContext list.
Declaration
protected List<LightDrawContext> lightDrawContextList
Field Value
Type | Description |
---|---|
List<LightDrawContext> |
Properties
AdditionalEffectDirectives
Gets the additional effects directives specified by this pipeline.
Declaration
public override List<string> AdditionalEffectDirectives { get; }
Property Value
Type | Description |
---|---|
List<string> |
Overrides
DFGLut
Gets the DFG LUT used for IBL.
Declaration
public Texture DFGLut { get; }
Property Value
Type | Description |
---|---|
Texture |
DefaultRenderPath
Gets the default render path.
Declaration
public override CameraRenderPath DefaultRenderPath { get; }
Property Value
Type | Description |
---|---|
CameraRenderPath |
Overrides
LightRenderPath
Gets the light render path.
Declaration
public LightRenderPath LightRenderPath { get; }
Property Value
Type | Description |
---|---|
LightRenderPath |
ShadowMapProvider
Gets the shadow map provider.
Declaration
public ShadowMapProvider ShadowMapProvider { get; }
Property Value
Type | Description |
---|---|
ShadowMapProvider |
SupportedRenderPaths
Gets the supported render path.
Declaration
public override IReadOnlyList<CameraRenderPath> SupportedRenderPaths { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<CameraRenderPath> |
Overrides
Methods
AddCamera(Camera)
Add a camera.
Declaration
public override void AddCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The camera. |
Overrides
AddLight(Light)
Add a light.
Declaration
public override void AddLight(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light. |
Overrides
AddRenderPath(CameraRenderPath)
Add render path.
Declaration
public override void AddRenderPath(CameraRenderPath renderPath)
Parameters
Type | Name | Description |
---|---|---|
CameraRenderPath | renderPath | The render path. |
Overrides
Destroy()
Destroy all resources of this instance.
Declaration
protected override void Destroy()
Overrides
Initialize()
Initialize the Render Pipeline.
Declaration
protected override void Initialize()
Overrides
RemoveCamera(Camera)
Remove a camera.
Declaration
public override void RemoveCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The camera. |
Overrides
RemoveLight(Light)
Remove a light.
Declaration
public override void RemoveLight(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light. |
Overrides
RemoveRenderPath(CameraRenderPath)
Remove render path.
Declaration
public override bool RemoveRenderPath(CameraRenderPath renderPath)
Parameters
Type | Name | Description |
---|---|---|
CameraRenderPath | renderPath | The render path. |
Returns
Type | Description |
---|---|
bool | True if has been removed successfully. |
Overrides
Render(TimeSpan)
Render this scene.
Declaration
public override void Render(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The game time. |
Overrides
RenderSingleCamera(CameraDrawContext)
Render a single camera context.
Declaration
public virtual void RenderSingleCamera(CameraDrawContext cameraContext)
Parameters
Type | Name | Description |
---|---|---|
CameraDrawContext | cameraContext | The camera context. |