Class DefaultRenderPipeline
Default render pipeline.
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class DefaultRenderPipeline : RenderPipeline
Fields
assetsService
The asset service.
Declaration
protected AssetsService assetsService
Field Value
Type | Description |
---|---|
AssetsService |
cameraDrawContextList
Camera draw context list.
Declaration
protected List<CameraDrawContext> cameraDrawContextList
Field Value
Type | Description |
---|---|
List<CameraDrawContext> |
lightDrawContextList
Light draw context 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 rendering 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)
Adds a camera.
Declaration
public override void AddCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The camera. |
Overrides
AddLight(Light)
Adds a light.
Declaration
public override void AddLight(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light. |
Overrides
AddRenderPath(CameraRenderPath)
Adds a render path.
Declaration
public override void AddRenderPath(CameraRenderPath renderPath)
Parameters
Type | Name | Description |
---|---|---|
CameraRenderPath | renderPath | The render path. |
Overrides
Destroy()
Destroys all resources of this instance.
Declaration
protected override void Destroy()
Overrides
Initialize()
Initializes the Render Pipeline.
Declaration
protected override void Initialize()
Overrides
RemoveCamera(Camera)
Removes a camera.
Declaration
public override void RemoveCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The camera. |
Overrides
RemoveLight(Light)
Removes a light.
Declaration
public override void RemoveLight(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light. |
Overrides
RemoveRenderPath(CameraRenderPath)
Removes the render path.
Declaration
public override bool RemoveRenderPath(CameraRenderPath renderPath)
Parameters
Type | Name | Description |
---|---|---|
CameraRenderPath | renderPath | The render path. |
Returns
Type | Description |
---|---|
bool | True if it has been removed successfully. |
Overrides
Render(TimeSpan)
Renders this scene.
Declaration
public override void Render(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The game time. |
Overrides
RenderSingleCamera(CameraDrawContext)
Renders a single camera context.
Declaration
public virtual void RenderSingleCamera(CameraDrawContext cameraContext)
Parameters
Type | Name | Description |
---|---|---|
CameraDrawContext | cameraContext | The camera context. |